Bug#810894: src:linux: GPIO probe failure on Linkstation LS-WXL/WSXL
Dear Amaud,
On Fri, Jan 15, 2016 at 12:50 AM, Roger Shimizu <rogershimizu@gmail.com> wrote:
> On Fri, Jan 15, 2016 at 12:26 AM, Arnaud Patard
> <arnaud.patard@rtp-net.org> wrote:
>> From a quick look, dts looks broken, if gpio 37 is not for the led:
>> label = "lswxl:red:func";
>> gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
>>
>> btw, this is broken too:
>> usb_power: regulator@1 {
>> ...
>> gpio = <&gpio0 37 GPIO_ACTIVE_HIGH>;
>>
>> There's no such a thing as gpio 37 on bank 0 as kirkwood bank have 32
>> gpios. I'm supprised nobody ever noticed it. Change it to "gpio1 5" and
>> there are chances that export won't be needed anymore.
Now I think it's better to show some kinda error info when the pin
doesn't exist.
I'm considering to write a kernel patch.
Is this limitation of "32 pin for one bank" popular with other flavour?
How can I get these spec info?
Thank you!
Cheers,
Roger
Reply to: