commit | ae89bb0d363eba33074106309c81c02f84b91ef8 | [log] [tgz] |
---|---|---|
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | Mon Jun 01 18:37:15 2015 +0530 |
committer | Stefano Babic <sbabic@denx.de> | Mon Jun 08 08:41:54 2015 +0200 |
tree | c8bf866075005fdb7dc96b4dd61dc00092e249c2 | |
parent | cd6ddc48134297497d226209a4e6ea72b71c87c5 [diff] |
dm: gpio: uclass: Add flag to control sequence numbering Like SPI and I2C few GPIO controllers also have multiple chip instances. This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in gpio_uclass driver to control device sequence numbering. By defalut the dev->r_seq for gpio_uclass will alwalys returns -1, which leads the gpio driver probe failure when using the driver with device trees. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>