regulator: qcom_smd: Add PM660/PM660L regulator support
authorAngeloGioacchino Del Regno <kholk11@gmail.com>
Sat, 26 Sep 2020 12:55:47 +0000 (14:55 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 1 Oct 2020 20:25:25 +0000 (21:25 +0100)
commit6d849653b00f2336efcd371fe85a7eb31bb094e9
treeda6e3affcb015828e6d4db045de8cf1e99383948
parentf9f061a5486f6a87e32fac80223ae44d4aefc06f
regulator: qcom_smd: Add PM660/PM660L regulator support

The PM660 and PM660L are a very very common PMIC combo, found on
boards using the SDM630, SDM636, SDM660 (and SDA variants) SoC.

PM660 provides 6 SMPS and 19 LDOs (of which one is unaccesible),
while PM660L provides 5 SMPS (of which S3 and S4 are combined),
10 LDOs and a Buck-or-Boost (BoB) regulator.

The PM660L IC also provides other regulators that are very
specialized (for example, for the display) and will be managed
in the other appropriate drivers (for example, labibb).

Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
Link: https://lore.kernel.org/r/20200926125549.13191-6-kholk11@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_smd-regulator.c
include/linux/soc/qcom/smd-rpm.h