The Linux driver supports the TPS65217 Power Management IC. The Linux driver supports communication through the I2C bus and interfaces with the regulator and backlight sub-systems to regulate power and control backlight LEDs.
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/tps65217.c
- drivers/regulator/tps65217-regulator.c
- drivers/video/backlight/tps65217_bl.c
- Documentation/devicetree/bindings/regulator/tps65217.txt
- Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt
- include/linux/mfd/tps65217.h
- arch/arm/boot/dts/tps65217.dtsi
Source Files
drivers/mfd/tps65217.c
drivers/regulator/tps65217-regulator.c
drivers/video/backlight/tps65217_bl.c
Linux Device Tree Documenation
Documentation/devicetree/bindings/regulator/tps65217.txt
Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt
Other Files
include/linux/mfd/tps65217.h
arch/arm/boot/dts/tps65217.dtsi
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")
Menuconfig Location
Symbol: MFD_TPS65217 [=y]Type : tristatePrompt: TI TPS65217 Power Management / White LED chips Location: -> Device Drivers -> Multifunction device drivers Defined at drivers/mfd/Kconfig:1073 Depends on: HAS_IOMEM [=y] && I2C [=y] Selects: MFD_CORE [=y] && REGMAP_I2C [=y]Symbol: REGULATOR_TPS65217 [=y]Type : tristatePrompt: TI TPS65217 Power regulators Location: -> Device Drivers -> Voltage and Current Regulator Support (REGULATOR [=y]) Defined at drivers/regulator/Kconfig:677 Depends on: REGULATOR [=y] && MFD_TPS65217 [=y]Symbol: BACKLIGHT_TPS65217 [=y]Type : tristatePrompt: TPS65217 Backlight 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:423 Depends on: HAS_IOMEM [=y] && BACKLIGHT_LCD_SUPPORT [=y] && BACKLIGHT_CLASS_DEVICE [=y] && MFD_TPS65217 [=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.