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:
Linux Source Files
The files associated with this device are:
- 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
- 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.