summaryrefslogtreecommitdiffstats
path: root/Documentation/leds/leds-lp5523.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/leds/leds-lp5523.txt')
-rw-r--r--Documentation/leds/leds-lp5523.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/leds/leds-lp5523.txt b/Documentation/leds/leds-lp5523.txt
index 5b3e91d4ac59..0dbbd279c9b9 100644
--- a/Documentation/leds/leds-lp5523.txt
+++ b/Documentation/leds/leds-lp5523.txt
@@ -49,6 +49,36 @@ There are two ways to run LED patterns.
492) Firmware interface - LP55xx common interface 492) Firmware interface - LP55xx common interface
50 For the details, please refer to 'firmware' section in leds-lp55xx.txt 50 For the details, please refer to 'firmware' section in leds-lp55xx.txt
51 51
52LP5523 has three master faders. If a channel is mapped to one of
53the master faders, its output is dimmed based on the value of the master
54fader.
55
56For example,
57
58 echo "123000123" > master_fader_leds
59
60creates the following channel-fader mappings:
61
62 channel 0,6 to master_fader1
63 channel 1,7 to master_fader2
64 channel 2,8 to master_fader3
65
66Then, to have 25% of the original output on channel 0,6:
67
68 echo 64 > master_fader1
69
70To have 0% of the original output (i.e. no output) channel 1,7:
71
72 echo 0 > master_fader2
73
74To have 100% of the original output (i.e. no dimming) on channel 2,8:
75
76 echo 255 > master_fader3
77
78To clear all master fader controls:
79
80 echo "000000000" > master_fader_leds
81
52Selftest uses always the current from the platform data. 82Selftest uses always the current from the platform data.
53 83
54Each channel contains led current settings. 84Each channel contains led current settings.