The Linux driver supports the LP3943 16-LED Fun Light Driver. The Linux driver supports communication through the I2C bus and interfaces with the GPIO and PWM sub-systems.
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/mfd/lp3943.c
- drivers/gpio/gpio-lp3943.c
- drivers/pwm/pwm-lp3943.c
- Documentation/devicetree/bindings/mfd/lp3943.txt
- Documentation/devicetree/bindings/gpio/gpio-lp3943.txt
- Documentation/devicetree/bindings/pwm/pwm-lp3943.txt
- include/linux/mfd/lp3943.h
Source Files
drivers/mfd/lp3943.c
drivers/gpio/gpio-lp3943.c
drivers/pwm/pwm-lp3943.c
Linux Device Tree Documenation
Documentation/devicetree/bindings/mfd/lp3943.txt
Documentation/devicetree/bindings/gpio/gpio-lp3943.txt
Documentation/devicetree/bindings/pwm/pwm-lp3943.txt
Other Files
include/linux/mfd/lp3943.h
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")
Menuconfig Location
Symbol: MFD_LP3943 [=y]Type : tristatePrompt: TI/National Semiconductor LP3943 MFD Driver Location: -> Device Drivers -> Multifunction device drivers Defined at drivers/mfd/Kconfig:1019 Depends on: HAS_IOMEM [=y] && I2C [=y] Selects: MFD_CORE [=y] && REGMAP_I2C [=y]Symbol: GPIO_LP3943 [=y]Type : tristatePrompt: TI/National Semiconductor LP3943 GPIO expander Location: -> Device Drivers -> GPIO Support (GPIOLIB [=y]) -> MFD GPIO expanders Defined at drivers/gpio/Kconfig:772 Depends on: GPIOLIB [=y] && MFD_LP3943 [=y]Symbol: PWM_LP3943 [=y]Type : tristatePrompt: TI/National Semiconductor LP3943 PWM support Location: -> Device Drivers -> Pulse-Width Modulation (PWM) Support (PWM [=y]) Defined at drivers/pwm/Kconfig:173 Depends on: PWM [=y] && MFD_LP3943 [=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.