regulator: mp8865: add regulator driver for MP8865
Change-Id: I5fa8423e5d1e301a008dcdfd60f93c442f6211a8 Signed-off-by: Zain Wang <wzz@rock-chips.com>
This commit is contained in:
@@ -685,6 +685,13 @@ config REGULATOR_MP8859
|
||||
Say M here if you want to include support for the regulator as a
|
||||
module. The module will be named "mp8859".
|
||||
|
||||
config REGULATOR_MP8865
|
||||
tristate "MPS MP8865 Power Regulator"
|
||||
depends on I2C
|
||||
select REGMAP_I2C
|
||||
help
|
||||
This driver supports MP8865 voltage regulator chip.
|
||||
|
||||
config REGULATOR_MP886X
|
||||
tristate "MPS MP8869 regulator driver"
|
||||
depends on I2C && (OF || COMPILE_TEST)
|
||||
|
||||
@@ -85,6 +85,7 @@ obj-$(CONFIG_REGULATOR_MC13XXX_CORE) += mc13xxx-regulator-core.o
|
||||
obj-$(CONFIG_REGULATOR_MCP16502) += mcp16502.o
|
||||
obj-$(CONFIG_REGULATOR_MP5416) += mp5416.o
|
||||
obj-$(CONFIG_REGULATOR_MP8859) += mp8859.o
|
||||
obj-$(CONFIG_REGULATOR_MP8865) += mp8865-regulator.o
|
||||
obj-$(CONFIG_REGULATOR_MP886X) += mp886x.o
|
||||
obj-$(CONFIG_REGULATOR_MPQ7920) += mpq7920.o
|
||||
obj-$(CONFIG_REGULATOR_MT6311) += mt6311-regulator.o
|
||||
|
||||
@@ -52,7 +52,7 @@ struct mp8865_platform_data {
|
||||
struct device_node *of_node;
|
||||
};
|
||||
|
||||
static const struct regulator_linear_range mp8865_voltage_ranges[] = {
|
||||
static const struct linear_range mp8865_voltage_ranges[] = {
|
||||
REGULATOR_LINEAR_RANGE(600000, VOL_MIN_IDX, VOL_MAX_IDX, 10000),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user