projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf3a72
)
regulator: qcom-rpmh-regulator: correct hfsmps515 definition
author
Dmitry Baryshkov
<dmitry.baryshkov@linaro.org>
Thu, 31 Dec 2020 12:23:46 +0000
(15:23 +0300)
committer
Mark Brown
<broonie@kernel.org>
Mon, 4 Jan 2021 14:25:03 +0000
(14:25 +0000)
According to the datasheet pm8009's HFS515 regulators have 16mV
resolution rather than declared 1.6 mV. Correct the resolution.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: 06369bcc15a1 ("regulator: qcom-rpmh: Add support for SM8150")
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link:
https://lore.kernel.org/r/20201231122348.637917-3-dmitry.baryshkov@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom-rpmh-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/qcom-rpmh-regulator.c
b/drivers/regulator/qcom-rpmh-regulator.c
index fe030ec4b7db41552e5cb499d6b6f2c7e2484dcf..c395a8dda6f7c3a5875600109846da218e7a6e81 100644
(file)
--- a/
drivers/regulator/qcom-rpmh-regulator.c
+++ b/
drivers/regulator/qcom-rpmh-regulator.c
@@
-726,7
+726,7
@@
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, 1600),
+ .voltage_range = REGULATOR_LINEAR_RANGE(2800000, 0, 4, 1600
0
),
.n_voltages = 5,
.pmic_mode_map = pmic_mode_map_pmic5_smps,
.of_map_mode = rpmh_regulator_pmic4_smps_of_map_mode,