Re: [PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-28 Thread Roland Stigge
On 01/28/2013 12:39 PM, Stijn Devriendt wrote: >>> In the device-tree this is specified as: >>> >>> powr@0x20 { >>>// other properties >>> >>> gpios = <&gpio 4 0 >>>&gpio 5 0>; >>> }; >>> >>> Is this kind of integration also possible? >> >> You can reference the gpio block via

Re: [PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-28 Thread Stijn Devriendt
On Sun, Jan 27, 2013 at 3:29 PM, Roland Stigge wrote: > On 27/01/13 14:07, Stijn Devriendt wrote: >>> +Example: >>> + >>> +blockgpio { >>> +compatible = "linux,gpio-block"; >>> + >>> +block0 { >>> +gpios = <&gpio 3 0 0>, >>> +

Re: [PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-27 Thread Roland Stigge
On 27/01/13 14:07, Stijn Devriendt wrote: >> +Example: >> + >> +blockgpio { >> +compatible = "linux,gpio-block"; >> + >> +block0 { >> +gpios = <&gpio 3 0 0>, >> +<&gpio 3 1 0>; >> +}; >>

Re: [PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-27 Thread Stijn Devriendt
On Tue, Jan 22, 2013 at 1:06 PM, Roland Stigge wrote: > This patch adds device tree support to the block GPIO API. > > Signed-off-by: Roland Stigge > > --- > Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ > drivers/gpio/Makefile |1 > dri

[PATCH 5/6 v14] gpio: Add device tree support to block GPIO API

2013-01-22 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c | 100 ++