Re: [OpenWrt-Devel] MIPS Ralink GPIO and DTS

2013-05-02 Thread Michel Stempin
Le 02/05/2013 16:39, jonsm...@gmail.com a écrit : > This patch is in openwrt tree: > > ramips/patches-3.8/0209-owrt-GPIO-add-gpio_export_with_name.patch > > Looks like it supports naming them. Ok, this works for static GPIO naming (like calls to gpio_export() in old board support files), but

Re: [OpenWrt-Devel] MIPS Ralink GPIO and DTS

2013-05-02 Thread Lixus
Hi, Michele the gpio only works is specified in the DTS file, ralink,uartmux = "uartf"; /* not "gpio" since r36431*/ and define the gpio with name here an examples gpio7 { gpio-export,name = "gpio7"; gpio-export,output = <0>; gpios = <&gpio0 7 1>; }; ayyari 2013/5/2 Michel Stempin > > >

Re: [OpenWrt-Devel] MIPS Ralink GPIO and DTS

2013-05-02 Thread jonsm...@gmail.com
This patch is in openwrt tree: ramips/patches-3.8/0209-owrt-GPIO-add-gpio_export_with_name.patch Looks like it supports naming them. On Thu, May 2, 2013 at 10:25 AM, Michel Stempin wrote: > > > Le 02/05/2013 16:06, jonsm...@gmail.com a écrit : >> On Thu, May 2, 2013 at 9:49 AM, Michel Stempin >

Re: [OpenWrt-Devel] MIPS Ralink GPIO and DTS

2013-05-02 Thread Michel Stempin
Le 02/05/2013 16:06, jonsm...@gmail.com a écrit : > On Thu, May 2, 2013 at 9:49 AM, Michel Stempin > wrote: >> Hi, >> >> It looks like the GPIOs are broken since the introduction of DTS for the >> ramips architecture. >> >> In the DTS include file ("target/linux/ramips/dts/rt3050.dtsi" in my ca

Re: [OpenWrt-Devel] MIPS Ralink GPIO and DTS

2013-05-02 Thread jonsm...@gmail.com
On Thu, May 2, 2013 at 9:49 AM, Michel Stempin wrote: > Hi, > > It looks like the GPIOs are broken since the introduction of DTS for the > ramips architecture. > > In the DTS include file ("target/linux/ramips/dts/rt3050.dtsi" in my case, by > this is also true for the other ones), only the numb

[OpenWrt-Devel] MIPS Ralink GPIO and DTS

2013-05-02 Thread Michel Stempin
Hi, It looks like the GPIOs are broken since the introduction of DTS for the ramips architecture. In the DTS include file ("target/linux/ramips/dts/rt3050.dtsi" in my case, by this is also true for the other ones), only the number of GPIOs for each gpio-controller is defined, but not the GPIO