regulator: qcom_spmi: add support for PMP8074 regulators
authorRobert Marko <robimarko@gmail.com>
Mon, 4 Jul 2022 21:23:57 +0000 (23:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Jul 2022 11:06:34 +0000 (12:06 +0100)
commit34ceb6a6ef87cda7629fd4ebe0074d9b5c7613d9
tree0f7984cb41eb5700fce84ad342807f5d690a8fc9
parent3d04ae8e3e916bc298b674613565d5b26cf1054a
regulator: qcom_spmi: add support for PMP8074 regulators

PMP8074 is a companion PMIC for the Qualcomm IPQ8074 WiSoC-s.

It features 5 HF-SMPS and 13 LDO regulators.

HF-SMPS regulators are Buck HFS430 regulators.
L1, L2 and L3 are HT_N1200_ST subtype LDO regulators.
L4 is HT_N300_ST subtype LDO regulator.
L5 and L6 are HT_P600 subtype LDO regulators.
L7, L11, L12 and L13 are HT_P150 subtype LDO regulators.
L10 is HT_P50 subtype LDO regulator.

This commit adds support for all of the buck regulators and LDO-s except
for L10 as I dont have documentation on its output voltage range.

S3 is the CPU cluster voltage supply, S4 supplies the UBI32 NPU cores
and L11 is the SDIO/eMMC I/O voltage regulator required for high speeds.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Link: https://lore.kernel.org/r/20220704212402.1715182-7-robimarko@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_spmi-regulator.c