Skip to content

Commit df6b92f

Browse files
lumagbroonie
authored andcommitted
regulator: qcom-rpmh-regulator: correct hfsmps515 definition
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 <[email protected]> Fixes: 06369bc ("regulator: qcom-rpmh: Add support for SM8150") Reviewed-by: Vinod Koul <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2bf3a72 commit df6b92f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/qcom-rpmh-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ static const struct rpmh_vreg_hw_data pmic5_ftsmps510 = {
726726
static const struct rpmh_vreg_hw_data pmic5_hfsmps515 = {
727727
.regulator_type = VRM,
728728
.ops = &rpmh_regulator_vrm_ops,
729-
.voltage_range = REGULATOR_LINEAR_RANGE(2800000, 0, 4, 1600),
729+
.voltage_range = REGULATOR_LINEAR_RANGE(2800000, 0, 4, 16000),
730730
.n_voltages = 5,
731731
.pmic_mode_map = pmic_mode_map_pmic5_smps,
732732
.of_map_mode = rpmh_regulator_pmic4_smps_of_map_mode,

0 commit comments

Comments
 (0)