[PATCH v2 0/2] Proper slewing delays for qcom spmi regulators

From: Stephen Boyd
Date: Wed Mar 30 2016 - 21:57:57 EST


This patch series adds proper slewing delays for qcom spmi regulators
by adding more slewing attributes for other types of regulators besides
FT SMPS and then making all the regulator ops selector based so that
the delays actually take place in the regulator core.

I've tested this by confirming we get proper delays when changing voltages
on PM8916's S2 ULT SMPS regulator and also confirmed the voltage values
by reading raw SPMI registers to confirm voltages are switching correctly.

Changes since v1:
* Second patch is new to make first patch actually do something

Stephen Boyd (2):
regulator: qcom_spmi: Add slewing delays for all SMPS types
regulator: qcom_spmi: Only use selector based regulator ops

drivers/regulator/qcom_spmi-regulator.c | 218 ++++++++++++++++++++------------
1 file changed, 137 insertions(+), 81 deletions(-)

--
2.8.0.rc4