TPS65218SW-LINUX

Linux Driver for TPS65218

TPS65218SW-LINUX

Overview

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:

  • tps65218

 

Linux Source Files

The files associated with this device are:

  1. drivers/mfd/tps65218.c
  2. drivers/regulator/tps65218-regulator.c
  3. drivers/input/misc/tps65218-pwrbutton.c
  4. Documentation/devicetree/bindings/regulator/tps65218.txt
  5. Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
  6. 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.
Download View video with transcript Video

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support.

Videos