The Linux driver supports the LP8501 9 channel LED Driver. The Linux driver supports communication through the I2C bus and interfaces with the LED sub-system.
Linux Mainline Status
Available in Linux Main line: Yes
Available through git.ti.com: N/A
Supported Devices:
Linux Source Files
The files associated with this device are:
- drivers/leds/leds-lp8501.c
- Documentation/devicetree/bindings/leds/leds-lp55xx.txt
- include/linux/platform_data/leds-lp55xx.h
- drivers/leds/leds-lp55xx-common.h
- Documentation/leds/leds-lp55xx.txt
Source Files
drivers/leds/leds-lp8501.c
Linux Device Tree Documenation
Documentation/devicetree/bindings/leds/leds-lp55xx.txt
Other Files
include/linux/platform_data/leds-lp55xx.h
drivers/leds/leds-lp55xx-common.h
Documentation/leds/leds-lp55xx.txt
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")
Menuconfig Location
Symbol: LEDS_LP8501 [=y]Type : tristatePrompt: LED Support for TI LP8501 LED driver chip Location: -> Device Drivers -> LED Support (NEW_LEDS [=y]) Defined at drivers/leds/Kconfig:268 Depends on: NEW_LEDS [=y] && LEDS_CLASS [=y] && I2C [=y] Selects: LEDS_LP55XX_COMMON [=y]
Fixes and Code Enhancements
If there are fixes and or code enhancements that need to be added to thisdriver please either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2. Contact your TI representative.