Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-26 Thread Dinh Nguyen
On 03/22/2014 06:28 AM, Sebastian Andrzej Siewior wrote: On 03/21/2014 11:15 PM, delicious quinoa wrote: snps,nr-gpios = <27>; As noted on other thread, gpio2 is 27 wide, despite what the documentation says. When I made that change and remove your other two patches the gpios worked for me

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-26 Thread Dinh Nguyen
On 03/22/2014 06:28 AM, Sebastian Andrzej Siewior wrote: On 03/21/2014 11:15 PM, delicious quinoa wrote: snps,nr-gpios = 27; As noted on other thread, gpio2 is 27 wide, despite what the documentation says. When I made that change and remove your other two patches the gpios worked for me on

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-22 Thread Sebastian Andrzej Siewior
On 03/21/2014 11:15 PM, delicious quinoa wrote: > snps,nr-gpios = <27>; > > As noted on other thread, gpio2 is 27 wide, despite what the > documentation says. When I made that change and remove your other two > patches the gpios worked for me on a cyclone5 devkit board. > > So if you fix the

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-22 Thread Sebastian Andrzej Siewior
On 03/21/2014 11:15 PM, delicious quinoa wrote: snps,nr-gpios = 27; As noted on other thread, gpio2 is 27 wide, despite what the documentation says. When I made that change and remove your other two patches the gpios worked for me on a cyclone5 devkit board. So if you fix the #gpio-cells

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread delicious quinoa
On Fri, Mar 21, 2014 at 1:14 PM, delicious quinoa wrote: > On Thu, Mar 20, 2014 at 2:55 PM, Sebastian Andrzej Siewior > wrote: >> The cycloneV has three gpio controllers, each one with 29 gpios. This patch >> adds the three controller with the gpio driver which is now sitting the >> gpio tree.

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread delicious quinoa
On Fri, Mar 21, 2014 at 2:10 PM, Sebastian Andrzej Siewior wrote: > On 03/21/2014 06:24 PM, Gerhard Sittig wrote: >> On Thu, Mar 20, 2014 at 20:55 +0100, Sebastian Andrzej Siewior wrote: >>> >>> The cycloneV has three gpio controllers, each one with 29 gpios. This patch >>> adds the three

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread Sebastian Andrzej Siewior
On 03/21/2014 06:24 PM, Gerhard Sittig wrote: > On Thu, Mar 20, 2014 at 20:55 +0100, Sebastian Andrzej Siewior wrote: >> >> The cycloneV has three gpio controllers, each one with 29 gpios. This patch >> adds the three controller with the gpio driver which is now sitting the >> gpio tree. > > The

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread Sebastian Andrzej Siewior
On 03/21/2014 07:14 PM, delicious quinoa wrote: >> + gpio@ff708000 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + compatible = "snps,dw-apb-gpio"; >> + reg = <0xff708000 0x1000>; >> +

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread delicious quinoa
On Thu, Mar 20, 2014 at 2:55 PM, Sebastian Andrzej Siewior wrote: > The cycloneV has three gpio controllers, each one with 29 gpios. This patch > adds the three controller with the gpio driver which is now sitting the > gpio tree. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Sebastian

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread Gerhard Sittig
On Thu, Mar 20, 2014 at 20:55 +0100, Sebastian Andrzej Siewior wrote: > > The cycloneV has three gpio controllers, each one with 29 gpios. This patch > adds the three controller with the gpio driver which is now sitting the > gpio tree. The third bank should have 27 pins, only the first two have

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread Gerhard Sittig
On Thu, Mar 20, 2014 at 20:55 +0100, Sebastian Andrzej Siewior wrote: The cycloneV has three gpio controllers, each one with 29 gpios. This patch adds the three controller with the gpio driver which is now sitting the gpio tree. The third bank should have 27 pins, only the first two have 29.

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread delicious quinoa
On Thu, Mar 20, 2014 at 2:55 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: The cycloneV has three gpio controllers, each one with 29 gpios. This patch adds the three controller with the gpio driver which is now sitting the gpio tree. Cc: devicet...@vger.kernel.org Signed-off-by:

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread Sebastian Andrzej Siewior
On 03/21/2014 07:14 PM, delicious quinoa wrote: + gpio@ff708000 { + #address-cells = 1; + #size-cells = 0; + compatible = snps,dw-apb-gpio; + reg = 0xff708000 0x1000; +

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread Sebastian Andrzej Siewior
On 03/21/2014 06:24 PM, Gerhard Sittig wrote: On Thu, Mar 20, 2014 at 20:55 +0100, Sebastian Andrzej Siewior wrote: The cycloneV has three gpio controllers, each one with 29 gpios. This patch adds the three controller with the gpio driver which is now sitting the gpio tree. The third bank

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread delicious quinoa
On Fri, Mar 21, 2014 at 2:10 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: On 03/21/2014 06:24 PM, Gerhard Sittig wrote: On Thu, Mar 20, 2014 at 20:55 +0100, Sebastian Andrzej Siewior wrote: The cycloneV has three gpio controllers, each one with 29 gpios. This patch adds the

Re: [PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-21 Thread delicious quinoa
On Fri, Mar 21, 2014 at 1:14 PM, delicious quinoa delicious.qui...@gmail.com wrote: On Thu, Mar 20, 2014 at 2:55 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: The cycloneV has three gpio controllers, each one with 29 gpios. This patch adds the three controller with the gpio driver

[PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-20 Thread Sebastian Andrzej Siewior
The cycloneV has three gpio controllers, each one with 29 gpios. This patch adds the three controller with the gpio driver which is now sitting the gpio tree. Cc: devicet...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/socfpga.dtsi | 60

[PATCH 3/3] ARM: dts: socfpga: add gpio pieces

2014-03-20 Thread Sebastian Andrzej Siewior
The cycloneV has three gpio controllers, each one with 29 gpios. This patch adds the three controller with the gpio driver which is now sitting the gpio tree. Cc: devicet...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- arch/arm/boot/dts/socfpga.dtsi | 60