Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: qcom,rpmh: add pm660 and pm660l pmics

The SDM670 uses RPMh for managing the PM660 and PM660L. Document RPMh
support for the PMIC.

Link: https://android.googlesource.com/kernel/msm/+/58064f13c0a436a82c35f2e3b5a122d874ae5846%5E%21/#F0
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220920223331.150635-2-mailingradian@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Richard Acayan and committed by
Mark Brown
21c93a95 911ce7cf

+36
+36
Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
··· 37 37 For PM6150, smps1 - smps5, ldo1 - ldo19 38 38 For PM6150L, smps1 - smps8, ldo1 - ldo11, bob 39 39 For PM6350, smps1 - smps5, ldo1 - ldo22 40 + For PM660, smps1 - smps6, ldo1 - ldo3, ldo5 - ldo19 41 + For PM660L, smps1 - smps3, smps5, ldo1 - ldo8, bob 40 42 For PM7325, smps1 - smps8, ldo1 - ldo19 41 43 For PM8005, smps1 - smps4 42 44 For PM8009, smps1 - smps2, ldo1 - ldo7 ··· 59 57 - qcom,pm6150-rpmh-regulators 60 58 - qcom,pm6150l-rpmh-regulators 61 59 - qcom,pm6350-rpmh-regulators 60 + - qcom,pm660-rpmh-regulators 61 + - qcom,pm660l-rpmh-regulators 62 62 - qcom,pm7325-rpmh-regulators 63 63 - qcom,pm8005-rpmh-regulators 64 64 - qcom,pm8009-rpmh-regulators ··· 151 147 vdd-l9-l10-supply: true 152 148 patternProperties: 153 149 "^vdd-s[1-8]-supply$": true 150 + 151 + - if: 152 + properties: 153 + compatible: 154 + enum: 155 + - qcom,pm660-rpmh-regulators 156 + then: 157 + properties: 158 + vdd-l1-l6-l7-supply: true 159 + vdd-l2-l3-supply: true 160 + vdd-l5-supply: true 161 + vdd-l8-l9-l10-l11-l12-l13-l14-supply: true 162 + vdd-l15-l16-l17-l18-l19-supply: true 163 + patternProperties: 164 + "^vdd-s[1-6]-supply$": true 165 + 166 + - if: 167 + properties: 168 + compatible: 169 + enum: 170 + - qcom,pm660l-rpmh-regulators 171 + then: 172 + properties: 173 + vdd-bob-supply: 174 + description: BOB regulator parent supply phandle. 175 + vdd-l1-l9-l10-supply: true 176 + vdd-l2-supply: true 177 + vdd-l3-l5-l7-l8-supply: true 178 + vdd-l4-l6-supply: true 179 + vdd-s3-s4-supply: true 180 + patternProperties: 181 + "^vdd-s[125]-supply$": true 154 182 155 183 - if: 156 184 properties: