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:
Linux Source Files
The files associated with this device are:
- 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
- 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.