* [PATCH] Documentation: leds-lp5523: describe master fader attributes
@ 2015-05-13 1:15 Toshi Kikuchi
2015-05-13 1:31 ` Kim, Milo
2015-05-13 9:57 ` Jacek Anaszewski
0 siblings, 2 replies; 4+ messages in thread
From: Toshi Kikuchi @ 2015-05-13 1:15 UTC (permalink / raw)
To: linux-kernel, linux-leds, milo.kim, cooloney, j.anaszewski
Add the usage of the new attributes for master faders.
Signed-off-by: Toshi Kikuchi <toshik@chromium.org>
---
Documentation/leds/leds-lp5523.txt | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/Documentation/leds/leds-lp5523.txt b/Documentation/leds/leds-lp5523.txt
index 5b3e91d..0dbbd27 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.
2) Firmware interface - LP55xx common interface
For the details, please refer to 'firmware' section in leds-lp55xx.txt
+LP5523 has three master faders. If a channel is mapped to one of
+the master faders, its output is dimmed based on the value of the master
+fader.
+
+For example,
+
+ echo "123000123" > master_fader_leds
+
+creates the following channel-fader mappings:
+
+ channel 0,6 to master_fader1
+ channel 1,7 to master_fader2
+ channel 2,8 to master_fader3
+
+Then, to have 25% of the original output on channel 0,6:
+
+ echo 64 > master_fader1
+
+To have 0% of the original output (i.e. no output) channel 1,7:
+
+ echo 0 > master_fader2
+
+To have 100% of the original output (i.e. no dimming) on channel 2,8:
+
+ echo 255 > master_fader3
+
+To clear all master fader controls:
+
+ echo "000000000" > master_fader_leds
+
Selftest uses always the current from the platform data.
Each channel contains led current settings.
--
2.2.1.62.g3f15098
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: leds-lp5523: describe master fader attributes
2015-05-13 1:15 [PATCH] Documentation: leds-lp5523: describe master fader attributes Toshi Kikuchi
@ 2015-05-13 1:31 ` Kim, Milo
2015-05-13 9:57 ` Jacek Anaszewski
1 sibling, 0 replies; 4+ messages in thread
From: Kim, Milo @ 2015-05-13 1:31 UTC (permalink / raw)
To: Toshi Kikuchi, cooloney; +Cc: linux-kernel, linux-leds, j.anaszewski
On 5/13/2015 10:15 AM, Toshi Kikuchi wrote:
> Add the usage of the new attributes for master faders.
>
> Signed-off-by: Toshi Kikuchi <toshik@chromium.org>
Acked-by: Milo Kim <milo.kim@ti.com>
Best regards,
Milo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: leds-lp5523: describe master fader attributes
2015-05-13 1:15 [PATCH] Documentation: leds-lp5523: describe master fader attributes Toshi Kikuchi
2015-05-13 1:31 ` Kim, Milo
@ 2015-05-13 9:57 ` Jacek Anaszewski
2015-05-13 17:13 ` Bryan Wu
1 sibling, 1 reply; 4+ messages in thread
From: Jacek Anaszewski @ 2015-05-13 9:57 UTC (permalink / raw)
To: Toshi Kikuchi; +Cc: linux-kernel, linux-leds, milo.kim, cooloney
Hi Toshi,
On 05/13/2015 03:15 AM, Toshi Kikuchi wrote:
> Add the usage of the new attributes for master faders.
>
> Signed-off-by: Toshi Kikuchi <toshik@chromium.org>
> ---
> Documentation/leds/leds-lp5523.txt | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
--
Best Regards,
Jacek Anaszewski
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: leds-lp5523: describe master fader attributes
2015-05-13 9:57 ` Jacek Anaszewski
@ 2015-05-13 17:13 ` Bryan Wu
0 siblings, 0 replies; 4+ messages in thread
From: Bryan Wu @ 2015-05-13 17:13 UTC (permalink / raw)
To: Jacek Anaszewski
Cc: Toshi Kikuchi, lkml, Linux LED Subsystem,
김우겸
On Wed, May 13, 2015 at 2:57 AM, Jacek Anaszewski
<j.anaszewski@samsung.com> wrote:
> Hi Toshi,
>
> On 05/13/2015 03:15 AM, Toshi Kikuchi wrote:
>>
>> Add the usage of the new attributes for master faders.
>>
>> Signed-off-by: Toshi Kikuchi <toshik@chromium.org>
>> ---
>> Documentation/leds/leds-lp5523.txt | 30 ++++++++++++++++++++++++++++++
>> 1 file changed, 30 insertions(+)
>
>
> Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
>
Merged with Milo and Jacek's Acks.
Thanks,
-Bryan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-13 17:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13 1:15 [PATCH] Documentation: leds-lp5523: describe master fader attributes Toshi Kikuchi
2015-05-13 1:31 ` Kim, Milo
2015-05-13 9:57 ` Jacek Anaszewski
2015-05-13 17:13 ` Bryan Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox