regulator: tps65217: Add tps65217 regulator driver
Subsystems (2)
PATCH v4 2/2 regulator: tps65217: Add tps65217 regulator driver
This patch adds tps65217 PMIC as a regulator
The regulator module consists of 3 DCDCs and 4 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components
Signed-off-by AnilKumar Ch <[email protected]>
--- drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/tps65217-regulator.c | 493 ++++++++++++++++++++++++++++++++ 3 files changed, 503 insertions(+), 0 deletions(-) create mode 100644 drivers/regulator/tps65217-regulator.c
drivers/regulator/Kconfig +9 -0
@@ -259,6 +259,15 @@ config REGULATOR_TPS6507X three step-down converters and two general-purpose LDO voltage regulators. It supports TI's software based Class-2 SmartReflex implementation. +config REGULATOR_TPS65217 + tristate "TI TPS65217 Power regulators" + depends on MFD_TPS65217 + help + This driver supports TPS65217 voltage regulator chips. TPS65217 + provides three step-down converters and four general-purpose LDO + voltage regulators. It supports software based voltage control + for different voltage domains + config REGULATOR_TPS65912 tristate "TI TPS65912 Power regulator" depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
drivers/regulator/Makefile +1 -0
@@ -38,6 +38,7 @@ obj-$(CONFIG_REGULATOR_AB3100) += ab3100.o obj-$(CONFIG_REGULATOR_TPS6105X) += tps6105x-regulator.o obj-$(CONFIG_REGULATOR_TPS65023) += tps65023-regulator.o obj-$(CONFIG_REGULATOR_TPS6507X) += tps6507x-regulator.o +obj-$(CONFIG_REGULATOR_TPS65217) += tps65217-regulator.o obj-$(CONFIG_REGULATOR_TPS6524X) += tps6524x-regulator.o obj-$(CONFIG_REGULATOR_TPS65912) += tps65912-regulator.o obj-$(CONFIG_REGULATOR_88PM8607) += 88pm8607.o
drivers/regulator/tps65217-regulator.c new file +493 -0
493 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Quoted 5 lines · AnilKumar Ch
This patch adds tps65217 PMIC as a regulator
The regulator module consists of 3 DCDCs and 4 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components
Looks good, applied thanks.
drivers/regulator/tps65217-regulator.c line 450
Quoted 2 lines · AnilKumar Ch
drivers/regulator/tps65217-regulator.c new file +2
-0+ rdev =regulator_register (®ulators[pdev->id], &pdev->dev, + pdev->dev.platform_data, tps);
Oh, actually - this needs redoing against -next, regulator_register now takes an additional of_node argument. If there's no device tree support it can be null.