Re: [OpenWrt-Devel] GPIO and pinctrl problem

2013-10-11 Thread Gerhard Bertelsmann
Am Fr, 11.10.2013, 02:59, schrieb Jiapeng Li: > Which version of trunk do you use? After i downgrade to r38025, all things > work fine. > Thanks for your response. I'm using 38333 at the moment. I have opened a ticket: #14309 It seems that some glue code between gpio api and pinctrl is missing. Hop

Re: [OpenWrt-Devel] GPIO and pinctrl problem

2013-10-10 Thread Jiapeng Li
Which version of trunk do you use? After i downgrade to r38025, all things work fine. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] GPIO and pinctrl problem

2013-10-10 Thread Jiapeng Li
I think the new gpio driver(after r38026(include)) of ramips platform has some bugs, after i set uartf to "gpio uartf" mode, i can't export any gpio. Maybe there are some relationship between this error and mine. root@OpenWrt:/sys/class/gpio# echo 1 > export [ 1056.70] rt2880-pinmux pinctrl.1:

[OpenWrt-Devel] GPIO and pinctrl problem

2013-10-10 Thread Gerhard Bertelsmann
Hi, I'm having a problem with getting and freeing GPIOs. Please have a look at this simple module: -8< #include #include #include #include #define DRV_NAME "GPIO Test" #define PFX DRV_NAME ": " #define GPIO_TEST_PIN 12 static int __