regulator: qcom_spmi: Add PM660/PM660L regulators
authorAngeloGioacchino Del Regno <kholk11@gmail.com>
Sat, 26 Sep 2020 12:55:45 +0000 (14:55 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 1 Oct 2020 20:25:23 +0000 (21:25 +0100)
commit0074c4472dcb20e989d9870c0b3aba42d0aa44b8
tree8fdc9ba638c211fcacffeaa1d1d28b507e690d18
parent328816c2033160a6929fb0c6f0018b7c8d75cefe
regulator: qcom_spmi: Add PM660/PM660L regulators

The PM660 PMIC is very often paired with the PM660L option on
SDM630/663/660 (and SDA variants) boards.

The PM660 has 11 "660" LDOs (2 NMOS, 9 PMOS) and 7 HT LDOs (4 NMOS,
3 PMOS) and a quirk: the L4 regulator is unaccessible or does not
exist on the PMIC.
The PM660L has 8 "660" LDOs (1 NMOS, 7 PMOS) and 2 HT NMOS LDOs.

Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
Link: https://lore.kernel.org/r/20200926125549.13191-4-kholk11@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_spmi-regulator.c