regulator: qcom_smd: Fix voltage ranges for pm8x41
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 11 Jul 2016 21:50:07 +0000 (14:50 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 5 Aug 2016 11:51:42 +0000 (12:51 +0100)
commit290284776bb281759b11faa287b8abccaf74bfcb
tree0e37cc505876c25b5c66f0bccfff087430381a5f
parenta485f5fc8c8e631c32c65e5ee2bb5719400435d6
regulator: qcom_smd: Fix voltage ranges for pm8x41

The voltage ranges listed here are wrong. The correct ranges can
be seen in the "native" spmi regulator driver
qcom_spmi-regulator.c at pldo_ranges[], ftsmps_ranges[] and
boost_ranges[] for the pldo, ftsmps, and boost type regulators.
Port these ranges over to the RPM SMD regulator driver so that we
list the appropriate set of supported voltages on pldos.

Doing this allows us to specify a voltage like 3075000 for l24,
whereas before that wasn't a supported voltage.

Fixes: da65e367b67e ("regulator: Regulator driver for the Qualcomm RPM")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_smd-regulator.c
This page took 0.026499 seconds and 5 git commands to generate.