The Linux driver supports the TPS6586X series of Power Management ICs. The Linux driver supports communication through the I2C bus and interfaces with the Regulator, GPIO, and RTC sub-systems.
Linux Mainline Status
Available in Linux Main line: Yes
Available through git.ti.com: N/A
Supported Devices:
- tps658621
- tps658623
- tps658640
- tps658643
Linux Source Files
The files associated with this device are:
- drivers/mfd/tps6586x.c
- drivers/regulator/tps6586x-regulator.c
- drivers/gpio/gpio-tps6586x.c
- drivers/rtc/rtc-tps6586x.c
- Documentation/devicetree/bindings/regulator/tps6586x.txt
- include/linux/mfd/tps6586x.h
Source Files
drivers/mfd/tps6586x.c
drivers/regulator/tps6586x-regulator.c
drivers/gpio/gpio-tps6586x.c
drivers/rtc/rtc-tps6586x.c
Linux Device Tree Documenation
Documentation/devicetree/bindings/regulator/tps6586x.txt
Other Files
include/linux/mfd/tps6586x.h
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")
Menuconfig Location
Symbol: MFD_TPS6586X [=y]Type : booleanPrompt: TI TPS6586x Power Management chips Location: -> Device Drivers -> Multifunction device drivers Defined at drivers/mfd/Kconfig:1143 Depends on: HAS_IOMEM [=y] && I2C [=y]=y Selects: MFD_CORE [=y] && REGMAP_I2C [=y]Symbol: REGULATOR_TPS6586X [=y]Type : tristatePrompt: TI TPS6586X Power regulators Location: -> Device Drivers -> Voltage and Current Regulator Support (REGULATOR [=y]) Defined at drivers/regulator/Kconfig:718 Depends on: REGULATOR [=y] && MFD_TPS6586X [=y]Symbol: GPIO_TPS6586X [=y]Type : booleanPrompt: TPS6586X GPIO Location: -> Device Drivers -> GPIO Support (GPIOLIB [=y]) -> MFD GPIO expanders Defined at drivers/gpio/Kconfig:827 Depends on: GPIOLIB [=y] && MFD_TPS6586X [=y]Symbol: RTC_DRV_TPS6586X [=y]Type : tristatePrompt: TI TPS6586X RTC driver Location: -> Device Drivers -> Real Time Clock (RTC_CLASS [=y]) Defined at drivers/rtc/Kconfig:504 Depends on: RTC_CLASS [=y] && I2C [=y] && MFD_TPS6586X [=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.