diff options
author | Kurt Kanzenbach <kurt@linutronix.de> | 2021-06-28 21:43:32 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-07-16 14:08:12 -0700 |
commit | cf8331825a8d10e46fa574fdf015a65cb5a6db86 (patch) | |
tree | b0366fa2c2c1f21958168612f4cbce1cfd86137d /arch/arm/boot/dts/imx28-apf28.dts | |
parent | 73744262210c4560efb2d89385c6219739d16bbd (diff) |
igc: Export LEDs
Each i225 has three LEDs. Export them via the LED class framework.
Each LED is controllable via sysfs. Example:
$ cd /sys/class/leds/igc_led0
$ cat brightness # Current Mode
$ cat max_brightness # 15
$ echo 0 > brightness # Mode 0
$ echo 1 > brightness # Mode 1
The brightness field here reflects the different LED modes ranging
from 0 to 15.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'arch/arm/boot/dts/imx28-apf28.dts')
0 files changed, 0 insertions, 0 deletions