diff options
| author | satya priya <skakit@codeaurora.org> | 2021-02-24 11:33:08 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-02-24 19:29:40 +0300 |
| commit | 62861a478e06d87dbfbb0ed3684056ba19a9886e (patch) | |
| tree | 8b61bef2b20fab3bb6b7fe181f4785237aedf489 | |
| parent | ef4848a6532ba0b241d3b6cad70378ff2c5615ca (diff) | |
| download | linux-62861a478e06d87dbfbb0ed3684056ba19a9886e.tar.xz | |
regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
Correct the REGULATOR_LINEAR_RANGE and n_voltges for
pmic5_hfsmps515 buck.
Signed-off-by: satya priya <skakit@codeaurora.org>
Link: https://lore.kernel.org/r/1614155592-14060-4-git-send-email-skakit@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
| -rw-r--r-- | drivers/regulator/qcom-rpmh-regulator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index dbad80f904bd..7bc76c5f2b81 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -726,8 +726,8 @@ static const struct rpmh_vreg_hw_data pmic5_ftsmps510 = { static const struct rpmh_vreg_hw_data pmic5_hfsmps515 = { .regulator_type = VRM, .ops = &rpmh_regulator_vrm_ops, - .voltage_range = REGULATOR_LINEAR_RANGE(2800000, 0, 4, 16000), - .n_voltages = 5, + .voltage_range = REGULATOR_LINEAR_RANGE(320000, 0, 235, 16000), + .n_voltages = 236, .pmic_mode_map = pmic_mode_map_pmic5_smps, .of_map_mode = rpmh_regulator_pmic4_smps_of_map_mode, }; |
