regulator: qcom_spmi: Add support for SAW
authorIlia Lin <ilialin@codeaurora.org>
Mon, 21 May 2018 11:25:30 +0000 (14:25 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 24 May 2018 19:23:43 +0000 (20:23 +0100)
commit0caecaa87202b667591d57e8ca233ee1b548ba13
tree34a0ba248c814f4e1e947d51785198bb39a6735f
parent3012e81446d011c1bd99812e562e2292f21060fb
regulator: qcom_spmi: Add support for SAW

Add support for SAW controlled regulators.
The regulators defined as SAW controlled in the device tree
will be controlled through special CPU registers instead of direct
SPMI accesses.
This is required especially for CPU supply regulators to synchronize
with clock scaling and for Automatic Voltage Switching.

Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_spmi-regulator.c