Re: [PATCH v5 3/3] gpio: search for gpio label if gpio is not found through bank name

2020-05-19 Thread Simon Glass
Hi Heiko, On Fri, 15 May 2020 at 08:02, Heiko Schocher wrote: > > dm_gpio_lookup_name() searches for a gpio through > the bank name. But we have also gpio labels, and it > makes sense to search for a gpio also in the labels > we have defined, if no gpio is found through the > bank name

[PATCH v5 3/3] gpio: search for gpio label if gpio is not found through bank name

2020-05-15 Thread Heiko Schocher
dm_gpio_lookup_name() searches for a gpio through the bank name. But we have also gpio labels, and it makes sense to search for a gpio also in the labels we have defined, if no gpio is found through the bank name definition. This is useful for example if you have a wp pin on different gpios on