commit | b1a1fc98168726b53e2b839d65310597958bdda4 | [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 | 8c717e5bd63eed50be98a1e4a84aff693d01ee42 [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>