summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2018-05-17 23:25:13 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:31:49 +0800
commitc9b17fc47fa088a70e9ebcb38add86a59a9f70c5 (patch)
treeb316d22a7b481374e4c8defc7e64e1a27fcaeb8a /drivers/regulator
parentcb31f01843ae69ff80b92c0e57f070a19b321b99 (diff)
MLK-18334: regulator: bd71837: fix reboot failure on i.mx845s evk
Fix reboot failure on i.mx845s evk board. For BD71837, BUCKx_SEL and BUCKx_EN of all bucks can't be set to 1 as explicity enabled or disabled, otherwise, it may mess up with the default state machine if pmic reset triggered. Remove enable/disable interfaces in driver to avoid touch such bits. Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/bd71837-regulator.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/regulator/bd71837-regulator.c b/drivers/regulator/bd71837-regulator.c
index 4b04fb1f221f..a4cd4205af01 100644
--- a/drivers/regulator/bd71837-regulator.c
+++ b/drivers/regulator/bd71837-regulator.c
@@ -101,8 +101,6 @@ static struct regulator_ops bd71837_fixed_regulator_ops = {
};
static struct regulator_ops bd71837_buck_regulator_ops = {
- .enable = regulator_enable_regmap,
- .disable = regulator_disable_regmap,
.is_enabled = regulator_is_enabled_regmap,
.list_voltage = regulator_list_voltage_linear_range,
.set_voltage_sel = regulator_set_voltage_sel_regmap,
@@ -111,8 +109,6 @@ static struct regulator_ops bd71837_buck_regulator_ops = {
};
static struct regulator_ops bd71837_buck1234_regulator_ops = {
- .enable = regulator_enable_regmap,
- .disable = regulator_disable_regmap,
.is_enabled = regulator_is_enabled_regmap,
.list_voltage = regulator_list_voltage_linear_range,
.set_voltage_sel = regulator_set_voltage_sel_regmap,