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

regulator: dt-bindings: qcom,rpmh: Combine PM6150L and PM8150L if-then

The supplies for PM6150L and PM8150L are the same, so they can be part
of one if-then block, for smaller code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230418071734.5706-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
ed479907 37473397

+2 -18
+2 -18
Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
··· 147 147 compatible: 148 148 enum: 149 149 - qcom,pm6150l-rpmh-regulators 150 + - qcom,pm8150l-rpmh-regulators 151 + - qcom,pmc8180c-rpmh-regulators 150 152 then: 151 153 properties: 152 154 vdd-bob-supply: ··· 265 263 vdd-l8-l9-supply: true 266 264 patternProperties: 267 265 "^vdd-s[1-9]-supply$": true 268 - 269 - - if: 270 - properties: 271 - compatible: 272 - enum: 273 - - qcom,pm8150l-rpmh-regulators 274 - - qcom,pmc8180c-rpmh-regulators 275 - then: 276 - properties: 277 - vdd-bob-supply: 278 - description: BOB regulator parent supply phandle. 279 - vdd-l1-l8-supply: true 280 - vdd-l2-l3-supply: true 281 - vdd-l4-l5-l6-supply: true 282 - vdd-l7-l11-supply: true 283 - vdd-l9-l10-supply: true 284 - patternProperties: 285 - "^vdd-s[1-8]-supply$": true 286 266 287 267 - if: 288 268 properties: