regulator: rockchip: lp8752: support lp8752 regulator

updata lp8752 driver.
add devicetree bindings for lp8752.

Change-Id: I21cdbde985d4663862b56c28429c41d9d3c38c36
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
Elaine Zhang
2016-04-26 16:03:58 +08:00
committed by Tao Huang
parent d08a978984
commit 262a88a9db
3 changed files with 11 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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),