LP3943SW-LINUX

用于 LP3943 的 Linux 驱动程序

LP3943SW-LINUX

概述

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 驱动器
LP3943 通过 SMBUS/I2C 独立控制灯串的 16 通道 RGB/白色 LED 驱动器
下载 观看带字幕的视频 视频

支持与培训

可获得 TI E2E™ 论坛的工程师技术支持

查看全部论坛主题 查看英文版全部论坛主题

所有内容均由 TI 和社区贡献者按“原样”提供,并不构成 TI 规范。请参阅使用条款

如果您对质量、包装或订购 TI 产品有疑问,请参阅 TI 支持

视频