LP3943SW-LINUX

Linux Driver for LP3943

LP3943SW-LINUX

Overview

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:

  • lp3943

 

Linux Source Files

The files associated with this device are:

  1. drivers/mfd/lp3943.c
  2. drivers/gpio/gpio-lp3943.c
  3. drivers/pwm/pwm-lp3943.c
  4. Documentation/devicetree/bindings/mfd/lp3943.txt
  5. Documentation/devicetree/bindings/gpio/gpio-lp3943.txt
  6. Documentation/devicetree/bindings/pwm/pwm-lp3943.txt
  7. 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.

 

RGB LED drivers
LP3943 16 channel RGB/White LED driver with independent string control via SMBUS/I2C
Download View video with transcript Video

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support.

Videos