The Linux driver supports the LM3642 LED Flash 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-lm3642.c
- include/linux/platform_data/leds-lm3642.h
Source Files
drivers/leds/leds-lm3642.c
Other Files
include/linux/platform_data/leds-lm3642.h
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")
Menuconfig Location
Symbol: LEDS_LM3642 [=y]Type : tristatePrompt: LED support for LM3642 Chip Location: -> Device Drivers -> LED Support (NEW_LEDS [=y]) Defined at drivers/leds/Kconfig:91 Depends on: NEW_LEDS [=y] && LEDS_CLASS [=y] && I2C [=y] Selects: REGMAP_I2C [=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.