提交 e567b74c 编写于 作者: P Philipp Zabel 提交者: Eric Miao

[ARM] pxa/mioa701: add V3 gain configuration for Maxim 1586 voltage regulator

Maxim 1586 V3 gain can be configured by external resistors
(R24, R25) connected to the FB3 pin. To avoid accidental
overvoltage, it now requires this gain to be configured
explicitly.
Signed-off-by: NPhilipp Zabel <philipp.zabel@gmail.com>
Acked-by: NRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: NEric Miao <eric.miao@marvell.com>
上级 9752e148
...@@ -746,6 +746,7 @@ static struct max1586_subdev_data max1586_subdevs[] = { ...@@ -746,6 +746,7 @@ static struct max1586_subdev_data max1586_subdevs[] = {
static struct max1586_platform_data max1586_info = { static struct max1586_platform_data max1586_info = {
.subdevs = max1586_subdevs, .subdevs = max1586_subdevs,
.num_subdevs = ARRAY_SIZE(max1586_subdevs), .num_subdevs = ARRAY_SIZE(max1586_subdevs),
.v3_gain = MAX1586_GAIN_NO_R24, /* 700..1475 mV */
}; };
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册