The Linux driver supports the TPS65218 Power Management IC. The Linux driver supports communication through the I2C bus and interfaces with the Regulator and Power sub-system.
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/tps65218.c
- drivers/regulator/tps65218-regulator.c
- drivers/input/misc/tps65218-pwrbutton.c
- Documentation/devicetree/bindings/regulator/tps65218.txt
- Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
- include/linux/mfd/tps65218.h
Source Files
drivers/mfd/tps65218.c
drivers/regulator/tps65218-regulator.c
drivers/input/misc/tps65218-pwrbutton.c
Linux Device Tree Documenation
Documentation/devicetree/bindings/regulator/tps65218.txt
Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
Other Files
include/linux/mfd/tps65218.h
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")
Menuconfig Location
Symbol: MFD_TPS65218 [=y]Type : tristatePrompt: TI TPS65218 Power Management chips Location: -> Device Drivers -> Multifunction device drivers Defined at drivers/mfd/Kconfig:1088 Depends on: HAS_IOMEM [=y] && I2C [=y] Selects: MFD_CORE [=y] && REGMAP_I2C [=y] && REGMAP_IRQ [=y]Symbol: REGULATOR_TPS65218 [=y]Type : tristatePrompt: TI TPS65218 Power regulators Location: -> Device Drivers -> Voltage and Current Regulator Support (REGULATOR [=y]) Defined at drivers/regulator/Kconfig:686 Depends on: REGULATOR [=y] && MFD_TPS65218 [=y] && OF [=y]Symbol: INPUT_TPS65218_PWRBUTTON [=y]Type : tristatePrompt: TPS65218 Power button driver Location: -> Device Drivers -> Input device support -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y]) -> Miscellaneous devices (INPUT_MISC [=y]) Defined at drivers/input/misc/Kconfig:453 Depends on: !UML && INPUT [=y] && INPUT_MISC [=y] && MFD_TPS65218 [=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.