TPS65912SW-LINUX

Linux Driver for TPS65912

TPS65912SW-LINUX

Overview

The Linux driver supports the TPS65912 Video ADC. The Linux driver supports communication through the I2C and SPI bus and interfaces with the Regulator sub-system.

Linux Mainline Status

Available in Linux Main line: Yes
Available through git.ti.com: N/A

Supported Devices:

  • tps65912

 

Linux Source Files

The files associated with this device are:

  1. drivers/mfd/tps65912-core.c
  2. drivers/mfd/tps65912-irq.c
  3. drivers/mfd/tps65912-i2c.c
  4. drivers/mfd/tps65912-spi.c
  5. drivers/regulator/tps65912-regulator.c
  6. drivers/gpio/gpio-tps65912.c
  7. include/linux/mfd/tps65912.h

Source Files

drivers/mfd/tps65912-core.c
drivers/mfd/tps65912-irq.c
drivers/mfd/tps65912-i2c.c
drivers/mfd/tps65912-spi.c
drivers/regulator/tps65912-regulator.c
drivers/gpio/gpio-tps65912.c

Other Files

include/linux/mfd/tps65912.h

 

Enabling Driver Support

Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")

Menuconfig Location

Symbol: MFD_TPS65912 [=y]Type  : booleanPrompt: TI TPS65912 Power Management chip  Location:    -> Device Drivers      -> Multifunction device drivers  Defined at drivers/mfd/Kconfig:1131  Depends on: HAS_IOMEM [=y] && GPIOLIB [=y]  Selects: MFD_CORE [=y]  Selected by: MFD_TPS65912_I2C [=y] && HAS_IOMEM [=y] && I2C [=y]=y && GPIOLIB [=y] || MFD_TPS65912_SPI [=y] && HAS_IOMEM [=y] && SPI_MASTER [=y] && GPIOLIB [=y]Symbol: MFD_TPS65912_I2C [=y]Type  : booleanPrompt: TI TPS65912 Power Management chip with I2C  Location:    -> Device Drivers      -> Multifunction device drivers  Defined at drivers/mfd/Kconfig:1139  Depends on: HAS_IOMEM [=y] && I2C [=y]=y && GPIOLIB [=y]  Selects: MFD_CORE [=y] && MFD_TPS65912 [=y]Symbol: MFD_TPS65912_SPI [=y]Type  : booleanPrompt: TI TPS65912 Power Management chip with SPI  Location:    -> Device Drivers      -> Multifunction device drivers  Defined at drivers/mfd/Kconfig:1148  Depends on: HAS_IOMEM [=y] && SPI_MASTER [=y] && GPIOLIB [=y]  Selects: MFD_CORE [=y] && MFD_TPS65912 [=y]Symbol: MFD_TPS65912_I2C [=y]Type  : booleanPrompt: TI TPS65912 Power Management chip with I2C  Location:    -> Device Drivers      -> Multifunction device drivers  Defined at drivers/mfd/Kconfig:1139  Depends on: HAS_IOMEM [=y] && I2C [=y]=y && GPIOLIB [=y]  Selects: MFD_CORE [=y] && MFD_TPS65912 [=y]Symbol: MFD_TPS65912_SPI [=y]Type  : booleanPrompt: TI TPS65912 Power Management chip with SPI  Location:    -> Device Drivers      -> Multifunction device drivers  Defined at drivers/mfd/Kconfig:1148  Depends on: HAS_IOMEM [=y] && SPI_MASTER [=y] && GPIOLIB [=y]  Selects: MFD_CORE [=y] && MFD_TPS65912 [=y]Symbol: REGULATOR_TPS65912 [=y]Type  : tristatePrompt: TI TPS65912 Power regulator  Location:    -> Device Drivers      -> Voltage and Current Regulator Support (REGULATOR [=y])  Defined at drivers/regulator/Kconfig:717  Depends on: REGULATOR [=y] && (MFD_TPS65912_I2C [=y] || MFD_TPS65912_SPI [=y])Symbol: GPIO_TPS65912 [=y]Type  : tristatePrompt: TI TPS65912 GPIO  Location:    -> Device Drivers      -> GPIO Support (GPIOLIB [=y])        -> MFD GPIO expanders  Defined at drivers/gpio/Kconfig:841  Depends on: GPIOLIB [=y] && (MFD_TPS65912_I2C [=y] || MFD_TPS65912_SPI [=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.

 

Multi-channel ICs (PMICs)
TPS65912 Power Management IC (PMIC) with 4DC/DCs, 10 LDOs, 3 LED outputs & 32kHz RC oscillator TPS659128 PMU for processor power
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