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

2014-04-22 Thread Alexandre Courbot
On Wed, Apr 23, 2014 at 12:02 AM, Linus Walleij wrote: > On Tue, Apr 15, 2014 at 8:41 AM, 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. >> >> Signed-off-by: Chen-Yu Tsai > > Lik

[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 wrote: > On Tue, Apr 15, 2014 at 11:20 PM, Maxime Ripard > 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 l

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

2014-04-15 Thread Alexandre Courbot
On Tue, Apr 15, 2014 at 11:20 PM, Maxime Ripard 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 index. > > IIRC, gpios only

[linux-sunxi] Re: [PATCH RFC 4/6] net: rfkill: gpio: add device tree support

2014-01-21 Thread Alexandre Courbot
On Tue, Jan 21, 2014 at 9:35 PM, Arnd Bergmann wrote: > On Tuesday 21 January 2014, Linus Walleij wrote: >> On Tue, Jan 21, 2014 at 4:11 AM, Alexandre Courbot wrote: >> > On Sat, Jan 18, 2014 at 8:11 AM, Linus Walleij >> > wrote: >> > >> > I a

[linux-sunxi] Re: [PATCH RFC 4/6] net: rfkill: gpio: add device tree support

2014-01-21 Thread Alexandre Courbot
On Sat, Jan 18, 2014 at 8:11 AM, Linus Walleij wrote: > On Fri, Jan 17, 2014 at 6:43 PM, Chen-Yu Tsai wrote: >> On Sat, Jan 18, 2014 at 12:47 AM, Arnd Bergmann wrote: > +- NAME_shutdown-gpios : GPIO phandle to shutdown control + (phandle must be the second) >>>