Adding USR led to LED class infrastructure on i.MX53 Quick Start Board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Adding USR led to LED class infrastructure on i.MX53 Quick Start Board

1,000件の閲覧回数
SergioPrado
Contributor II

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

タグ(2)
0 件の賞賛
返信
1 返信

505件の閲覧回数
omegaouter
Contributor I

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

0 件の賞賛
返信