Hello All,
I have just added USR led to LED class infrastructure on the i.MX53 Quick Start Board.
That way, you can turn on/off the USR led from userspace:
# echo 1 > /sys/class/leds/mx53::user/brightness
# echo 0 > /sys/class/leds/mx53::user/brightness
If anyone is interested, the patch is attached.
Best regards,
Sergio Prado
Embedded Labworks
Original Attachment has been moved to: 136-add_leds_gpio.patch
It worked perfectly, instead of applying the defconfig patch I changed the Kernel Configuration.
./ltib -c
[ X ] Configure Kernel
Device Drivers > GPIO Support
[*] /sys/class/gpio
Device Drivers > LED Support
<*> LED Support for GPIO connected LEDs
[*] Platform device bindings for GPIO LEDs