regulator: qcom_spmi: Add PMA8084 regulators
authorStephan Gerhold <stephan@gerhold.net>
Tue, 12 Sep 2023 07:49:54 +0000 (09:49 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 26 Sep 2023 15:42:35 +0000 (17:42 +0200)
commit317aa3c4fe708fcbee5b9fe5fc25e1b9e92b83f5
tree1e8bf60ae89a34940095e8bd25274ac19520e3e3
parentf72d04235781cf89410ffd750109f4b9931c50ea
regulator: qcom_spmi: Add PMA8084 regulators

Add the necessary definitions for the PMA8084 PMIC to the
qcom_spmi-regulator driver to allow reading the actual voltages applied
to the hardware at runtime. This is mainly intended for debugging since
the regulators are usually controlled through the RPM firmware (via
qcom_smd-regulator).

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20230912-spmi-pm8909-v1-6-ba4b3bfaf87d@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_spmi-regulator.c