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

2020-01-29 Thread Simon Glass
Hi Heiko, On Tue, 14 Jan 2020 at 02:29, Heiko Schocher wrote: > > Hello Simon, > > Am 10.12.2019 um 13:39 schrieb Simon Glass: > > Hi Heiko, > > > > On Wed, 30 Oct 2019 at 04:29, Heiko Schocher wrote: > >> > >> dm_gpio_lookup_name() searches for a gpio through > >> the bank name. But we have als

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

2020-01-14 Thread Heiko Schocher
Hello Simon, Am 10.12.2019 um 13:39 schrieb Simon Glass: Hi Heiko, On Wed, 30 Oct 2019 at 04:29, 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

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

2019-12-10 Thread Simon Glass
Hi Heiko, On Wed, 30 Oct 2019 at 04:29, 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

[U-Boot] [PATCH] gpio: search for gpio label if gpio is not found through bank name

2019-10-30 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 dif