diff options
Diffstat (limited to 'Documentation/leds/leds-lp5523.txt')
| -rw-r--r-- | Documentation/leds/leds-lp5523.txt | 30 |
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. | |||
| 49 | 2) Firmware interface - LP55xx common interface | 49 | 2) 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 | ||
| 52 | LP5523 has three master faders. If a channel is mapped to one of | ||
| 53 | the master faders, its output is dimmed based on the value of the master | ||
| 54 | fader. | ||
| 55 | |||
| 56 | For example, | ||
| 57 | |||
| 58 | echo "123000123" > master_fader_leds | ||
| 59 | |||
| 60 | creates 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 | |||
| 66 | Then, to have 25% of the original output on channel 0,6: | ||
| 67 | |||
| 68 | echo 64 > master_fader1 | ||
| 69 | |||
| 70 | To have 0% of the original output (i.e. no output) channel 1,7: | ||
| 71 | |||
| 72 | echo 0 > master_fader2 | ||
| 73 | |||
| 74 | To have 100% of the original output (i.e. no dimming) on channel 2,8: | ||
| 75 | |||
| 76 | echo 255 > master_fader3 | ||
| 77 | |||
| 78 | To clear all master fader controls: | ||
| 79 | |||
| 80 | echo "000000000" > master_fader_leds | ||
| 81 | |||
| 52 | Selftest uses always the current from the platform data. | 82 | Selftest uses always the current from the platform data. |
| 53 | 83 | ||
| 54 | Each channel contains led current settings. | 84 | Each channel contains led current settings. |
