diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 77dd87905e57..7198e13655b8 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -462,6 +462,15 @@ config REGULATOR_LP873X voltage regulators. It supports software based voltage control for different voltage domains +config REGULATOR_LP8752 + tristate "TI LP8752 High Performance PMU driver" + depends on I2C + select REGMAP_I2C + help + This driver supports LP8752 High Performance PMU driver. This + chip contains four step-down DC/DC converters which can support + 4 mode multiphase configuration. + config REGULATOR_LP8755 tristate "TI LP8755 High Performance PMU driver" depends on I2C diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile index 030312339c26..4b234a18b0d5 100644 --- a/drivers/regulator/Makefile +++ b/drivers/regulator/Makefile @@ -60,6 +60,7 @@ obj-$(CONFIG_REGULATOR_LP873X) += lp873x-regulator.o obj-$(CONFIG_REGULATOR_LP87565) += lp87565-regulator.o obj-$(CONFIG_REGULATOR_LP8788) += lp8788-buck.o obj-$(CONFIG_REGULATOR_LP8788) += lp8788-ldo.o +obj-$(CONFIG_REGULATOR_LP8752) += lp8752.o obj-$(CONFIG_REGULATOR_LP8755) += lp8755.o obj-$(CONFIG_REGULATOR_LTC3589) += ltc3589.o obj-$(CONFIG_REGULATOR_LTC3676) += ltc3676.o diff --git a/drivers/regulator/lp8752.c b/drivers/regulator/lp8752.c index d5b163e95de0..cf8e685f304a 100644 --- a/drivers/regulator/lp8752.c +++ b/drivers/regulator/lp8752.c @@ -43,7 +43,7 @@ enum lp8752_bucks { LP8752_BUCK_MAX, }; -static const struct regulator_linear_range lp8752_buck_voltage_ranges[] = { +static const struct linear_range lp8752_buck_voltage_ranges[] = { REGULATOR_LINEAR_RANGE(500000, 0, 23, 10000), REGULATOR_LINEAR_RANGE(735000, 24, 157, 5000), REGULATOR_LINEAR_RANGE(1420000, 158, 255, 20000),