LM3533SW-LINUX

用于 LM3533 的 Linux 驱动程序

LM3533SW-LINUX

概述

The Linux driver supports the LM3533 Complete lighting solution for smartphone handsets. The Linux driver supports communication through the I2C bus and interfaces with various sub-systems.

 

Linux Mainline Status

Available in Linux Main line: Yes
Available through git.ti.com: N/A

Supported Devices:

  • lm3533

 

Linux Source Files

The files associated with this device are:

  1. drivers/iio/light/lm3533-als.c
  2. drivers/leds/leds-lm3533.c
  3. drivers/mfd/lm3533-core.c
  4. drivers/mfd/lm3533-ctrlbank.c
  5. drivers/video/backlight/lm3533_bl.c
  6. include/linux/mfd/lm3533.h

Source Files

drivers/iio/light/lm3533-als.c
drivers/leds/leds-lm3533.c
drivers/mfd/lm3533-core.c
drivers/mfd/lm3533-ctrlbank.c
drivers/video/backlight/lm3533_bl.c

Other Files

include/linux/mfd/lm3533.h

 

Enabling Driver Support

Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")

Menuconfig Location

Symbol: SENSORS_LM3533 [=y]Type  : tristatePrompt: LM3533 ambient light sensor  Location:    -> Device Drivers      -> Industrial I/O support (IIO [=y])        -> Light sensors  Defined at drivers/iio/light/Kconfig:182  Depends on: IIO [=y] && MFD_LM3533 [=y]Symbol: LEDS_LM3533 [=y]Type  : tristatePrompt: LED support for LM3533  Location:    -> Device Drivers      -> LED Support (NEW_LEDS [=y])  Defined at drivers/leds/Kconfig:78  Depends on: NEW_LEDS [=y] && LEDS_CLASS [=y] && MFD_LM3533 [=y]Symbol: MFD_LM3533 [=y]Type  : tristatePrompt: TI/National Semiconductor LM3533 Lighting Power chip  Location:    -> Device Drivers      -> Multifunction device drivers  Defined at drivers/mfd/Kconfig:1279  Depends on: HAS_IOMEM [=y] && I2C [=y]  Selects: MFD_CORE [=y] && REGMAP_I2C [=y]Symbol: BACKLIGHT_LM3533 [=y]Type  : tristatePrompt: Backlight Driver for LM3533  Location:    -> Device Drivers      -> Graphics support        -> Backlight & LCD device support (BACKLIGHT_LCD_SUPPORT [=y])          -> Lowlevel Backlight controls (BACKLIGHT_CLASS_DEVICE [=y])  Defined at drivers/video/backlight/Kconfig:209  Depends on: HAS_IOMEM [=y] && BACKLIGHT_LCD_SUPPORT [=y] && BACKLIGHT_CLASS_DEVICE [=y] && MFD_LM3533 [=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.

 

下载 观看带字幕的视频 视频

支持和培训

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

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

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

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