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

2020-02-05 Thread Simon Glass
On Tue, 4 Feb 2020 at 23:21, 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 definition. > > This

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

2020-02-04 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