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

2020-07-21 Thread Michal Simek
On 21. 07. 20 8:40, Heiko Schocher wrote: > Hi Michal, > > Am 20.07.2020 um 10:30 schrieb Michal Simek: >> Hi Heiko, >> >> pá 22. 5. 2020 v 11:10 odesílatel Heiko Schocher napsal: >>> >>> dm_gpio_lookup_name() searches for a gpio through >>> the bank name. But we have also gpio labels, and it

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

2020-07-20 Thread Heiko Schocher
Hi Michal, Am 20.07.2020 um 10:30 schrieb Michal Simek: Hi Heiko, pá 22. 5. 2020 v 11:10 odesílatel Heiko Schocher napsal: 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

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

2020-07-20 Thread Michal Simek
Hi Heiko, pá 22. 5. 2020 v 11:10 odesílatel Heiko Schocher napsal: > > 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 defin

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

2020-07-07 Thread Tom Rini
On Fri, May 22, 2020 at 11:08:59AM +0200, 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.

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

2020-05-22 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