Skip to content

Commit c12ac5f

Browse files
jneannebroonie
authored andcommitted
regulator: drivers: Add TI TPS65219 PMIC regulators support
The regulators set consists of 3 bucks DCDCs and 4 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Validation: Visual check: cat /sys/kernel/debug/regulator/regulator_summary Validation: userspace-consumer and virtual-regulator required to test further Enable/Disable: cat /sys/devices/platform/userspace-consumer-VDDSHV_SD_IO_PMIC/state echo disabled > /sys/devices/platform/ userspace-consumer-VDDSHV_SD_IO_PMIC/state echo enabled > /sys/devices/platform/ userspace-consumer-VDDSHV_SD_IO_PMIC/state Change voltage: cat /sys/devices/platform/regulator-virtual-ldo1/min_microvolts echo 1000000 > /sys/devices/platform/regulator-virtual-ldo1/ min_microvolts echo 3000000 > /sys/devices/platform/regulator-virtual-ldo1/ max_microvolts Signed-off-by: Jerome Neanne <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 4d2aed6 commit c12ac5f

File tree

4 files changed

+427
-0
lines changed

4 files changed

+427
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14935,6 +14935,7 @@ F: drivers/regulator/palmas-regulator*.c
1493514935
F: drivers/regulator/pbias-regulator.c
1493614936
F: drivers/regulator/tps65217-regulator.c
1493714937
F: drivers/regulator/tps65218-regulator.c
14938+
F: drivers/regulator/tps65219-regulator.c
1493814939
F: drivers/regulator/tps65910-regulator.c
1493914940
F: drivers/regulator/twl-regulator.c
1494014941
F: drivers/regulator/twl6030-regulator.c

drivers/regulator/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,15 @@ config REGULATOR_TPS65218
13841384
voltage regulators. It supports software based voltage control
13851385
for different voltage domains
13861386

1387+
config REGULATOR_TPS65219
1388+
tristate "TI TPS65219 Power regulators"
1389+
depends on MFD_TPS65219 && OF
1390+
help
1391+
This driver supports TPS65219 voltage regulator chips.
1392+
TPS65219 series of PMICs have 3 single phase BUCKs & 4 LDOs
1393+
voltage regulators. It supports software based voltage control
1394+
for different voltage domains.
1395+
13871396
config REGULATOR_TPS6524X
13881397
tristate "TI TPS6524X Power regulators"
13891398
depends on SPI

drivers/regulator/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ obj-$(CONFIG_REGULATOR_TPS65086) += tps65086-regulator.o
162162
obj-$(CONFIG_REGULATOR_TPS65090) += tps65090-regulator.o
163163
obj-$(CONFIG_REGULATOR_TPS65217) += tps65217-regulator.o
164164
obj-$(CONFIG_REGULATOR_TPS65218) += tps65218-regulator.o
165+
obj-$(CONFIG_REGULATOR_TPS65219) += tps65219-regulator.o
165166
obj-$(CONFIG_REGULATOR_TPS6524X) += tps6524x-regulator.o
166167
obj-$(CONFIG_REGULATOR_TPS6586X) += tps6586x-regulator.o
167168
obj-$(CONFIG_REGULATOR_TPS65910) += tps65910-regulator.o

0 commit comments

Comments
 (0)