]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/leds/leds-lp55xx-common.h
leds-lp55xx: add new lp55xx_register_sysfs() for the firmware interface
authorMilo(Woogyom) Kim <milo.kim@ti.com>
Tue, 5 Feb 2013 10:15:27 +0000 (19:15 +0900)
committerBryan Wu <cooloney@gmail.com>
Wed, 6 Feb 2013 23:59:28 +0000 (15:59 -0800)
commitb3b6f8119d752c969c6394314dc7ab80e6611111
treea1a52139c9e8bf3280cd6bc3553419fcc697dbdd
parentd9067d28461cb2e817cacb84c727959cbd57d247
leds-lp55xx: add new lp55xx_register_sysfs() for the firmware interface

 LP55xx family chips have internal program memory which run various patterns.
 Using this memory, LEDs continue on blinking/dimming without continuous I2C
 commands. That means the I2C HOST can be entered into sleep once the memory
 is updated.

 An application can get hex data from a file and write them into
 the program memory through the I2C. This is general firwmare interface.

 This patch is the initial step for adding the firmware interface.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-lp55xx-common.c
drivers/leds/leds-lp55xx-common.h