Skip to content
Snippets Groups Projects
Commit ae89bb0d authored by Bhuvanchandra DV's avatar Bhuvanchandra DV Committed by Stefano Babic
Browse files

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: default avatarBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
parent cd6ddc48
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment