diff options
author | Keerthy <j-keerthy@ti.com> | 2018-04-17 11:51:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-17 12:57:21 +0300 |
commit | 2f51a26041f2c192dfcf426c04a0753f3e68db95 (patch) | |
tree | 4fbf3b25593f9468a0608effc8211c02fd161fd6 /drivers/regulator/lp87565-regulator.c | |
parent | 2d045e94f3b4da9ac116adb7a7145b46861436ac (diff) | |
download | linux-2f51a26041f2c192dfcf426c04a0753f3e68db95.tar.xz |
regulator: lp87565: Enable LP87565_BUCK_CTRL_1_FPWM_MP_0_2
Buck10 is a multi(dual) phase regulator. So as part of enabling it
turn on the LP87565_BUCK_CTRL_1_FPWM_MP_0_2 bit which forces it to
operate always in multiphase and forced-PWM operation mode.
This helps improve the transient voltage response while switching OPP.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/lp87565-regulator.c')
-rw-r--r-- | drivers/regulator/lp87565-regulator.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/lp87565-regulator.c b/drivers/regulator/lp87565-regulator.c index 5a4ea996e1dc..c192357d1dea 100644 --- a/drivers/regulator/lp87565-regulator.c +++ b/drivers/regulator/lp87565-regulator.c @@ -178,7 +178,8 @@ static const struct lp87565_regulator regulators[] = { LP87565_REGULATOR("BUCK10", LP87565_BUCK_10, "buck10", lp87565_buck_ops, 256, LP87565_REG_BUCK0_VOUT, LP87565_BUCK_VSET, LP87565_REG_BUCK0_CTRL_1, - LP87565_BUCK_CTRL_1_EN, 3230, + LP87565_BUCK_CTRL_1_EN | + LP87565_BUCK_CTRL_1_FPWM_MP_0_2, 3230, buck0_1_2_3_ranges, LP87565_REG_BUCK0_CTRL_2), LP87565_REGULATOR("BUCK23", LP87565_BUCK_23, "buck23", lp87565_buck_ops, 256, LP87565_REG_BUCK2_VOUT, LP87565_BUCK_VSET, |