Re: [PATCH] leds: lp5523: add master_fader support

From: Kim, Milo
Date: Mon May 11 2015 - 18:53:15 EST


Hi Bryan,

On 5/12/2015 4:10 AM, Toshi Kikuchi wrote:
This patch introduces 4 new attributes:
master_fader_leds
master_fader1
master_fader2
master_fader3

Fo example, to map channel 0,6 to master_fader1,
map channel 1,7 to master_fader2,
map channel 2,8 to master_fader3, and
map channel 3,4,5 to none

echo "123000123" > master_fader_leds

A different factor can be set to each master_fader:

echo 255 > master_fader1
echo 100 > master_fader2
echo 0 > master_fader3

Signed-off-by: Toshi Kikuchi <toshik@xxxxxxxxxxxx>
Acked-by: Milo Kim <milo.kim@xxxxxx>

Tested-by: Milo Kim <milo.kim@xxxxxx>

Best regards,
Milo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/