Hi Herve, > drive-strength = <6>; > bias-disable; So, I missed those but sadly it didn't make a difference. > > I have checked /sys/kernel/debug/pinctrl/40067000.pinctrl/pinmux-pins and > I have also the "(GPIO UNCLAIMED)": Still looks wrong. But is unrelated to my problem. > When you described the LED on your side, did you reference the GPIO using &gpio1b > for instance gpios = <&gpio1b 23 GPIO_ACTIVE_HIGH>; Yes. > For GPIO accesses from user space I used gpioget/gpioset tools from libgpiod > without any issues to read/write a GPIO. I use the sysfs interface. Also tried without the LED subsystem by directly using the GPIO sysfs interface. The 'gpio' file in debugfs reflects my changes, alas the LED does not glow :( I tried a little bit here and there to no avail. I also tried to build the BSP kernel to see if the LEDs light up there. Couldn't get that kernel to boot even. Conclusion: My gut feeling tells me that your patches are okay and I am doing something stupidly wrong. But I need to tackle this with focus and not as a side-task. Sadly, I can't do this before my holidays (starting tomorrow), so I can only do this at the end of this month. I will make this a priority thing for 6.18, though. Finally GPIO on this SoC would be awesome and allows me to enable way more devices on my board. Sorry for no better news... All the best, Wolfram
Attachment:
signature.asc
Description: PGP signature