[linux-sunxi] Re: [PATCH 1/7] gpiolib: gpiolib-of: Implement device tree gpio-names based lookup

2014-04-22 Thread Linus Walleij
On Tue, Apr 15, 2014 at 8:41 AM, Chen-Yu Tsai w...@csie.org wrote: This patch provides of_get_gpiod_flags_by_name(), which looks up GPIO phandles by name only, through gpios/gpio-names, and not by index. Signed-off-by: Chen-Yu Tsai w...@csie.org Like Alexandre I have no strong opinion on

[linux-sunxi] Re: [PATCH 1/7] gpiolib: gpiolib-of: Implement device tree gpio-names based lookup

2014-04-16 Thread Alexandre Courbot
On Tue, Apr 15, 2014 at 11:20 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Chen-Yu, On Tue, Apr 15, 2014 at 02:41:35PM +0800, Chen-Yu Tsai wrote: This patch provides of_get_gpiod_flags_by_name(), which looks up GPIO phandles by name only, through gpios/gpio-names, and not by

[linux-sunxi] Re: [PATCH 1/7] gpiolib: gpiolib-of: Implement device tree gpio-names based lookup

2014-04-16 Thread Alexandre Courbot
On Wed, Apr 16, 2014 at 3:12 PM, Alexandre Courbot gnu...@gmail.com wrote: On Tue, Apr 15, 2014 at 11:20 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Chen-Yu, On Tue, Apr 15, 2014 at 02:41:35PM +0800, Chen-Yu Tsai wrote: This patch provides of_get_gpiod_flags_by_name(), which

[linux-sunxi] Re: [PATCH 1/7] gpiolib: gpiolib-of: Implement device tree gpio-names based lookup

2014-04-16 Thread Chen-Yu Tsai
Hi, On Wed, Apr 16, 2014 at 3:06 PM, Alexandre Courbot gnu...@gmail.com wrote: On Wed, Apr 16, 2014 at 3:12 PM, Alexandre Courbot gnu...@gmail.com wrote: On Tue, Apr 15, 2014 at 11:20 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Chen-Yu, On Tue, Apr 15, 2014 at 02:41:35PM

[linux-sunxi] Re: [PATCH 1/7] gpiolib: gpiolib-of: Implement device tree gpio-names based lookup

2014-04-15 Thread Maxime Ripard
Hi Chen-Yu, On Tue, Apr 15, 2014 at 02:41:35PM +0800, Chen-Yu Tsai wrote: This patch provides of_get_gpiod_flags_by_name(), which looks up GPIO phandles by name only, through gpios/gpio-names, and not by index. IIRC, gpios only uses the *-gpios properties, and not gpios/gpio-names pattern seen