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>
This commit is contained in:
parent
37473397b8
commit
ed479907ff
|
@ -147,6 +147,8 @@ allOf:
|
||||||
compatible:
|
compatible:
|
||||||
enum:
|
enum:
|
||||||
- qcom,pm6150l-rpmh-regulators
|
- qcom,pm6150l-rpmh-regulators
|
||||||
|
- qcom,pm8150l-rpmh-regulators
|
||||||
|
- qcom,pmc8180c-rpmh-regulators
|
||||||
then:
|
then:
|
||||||
properties:
|
properties:
|
||||||
vdd-bob-supply:
|
vdd-bob-supply:
|
||||||
|
@ -264,24 +266,6 @@ allOf:
|
||||||
patternProperties:
|
patternProperties:
|
||||||
"^vdd-s[1-9]-supply$": true
|
"^vdd-s[1-9]-supply$": true
|
||||||
|
|
||||||
- if:
|
|
||||||
properties:
|
|
||||||
compatible:
|
|
||||||
enum:
|
|
||||||
- qcom,pm8150l-rpmh-regulators
|
|
||||||
- qcom,pmc8180c-rpmh-regulators
|
|
||||||
then:
|
|
||||||
properties:
|
|
||||||
vdd-bob-supply:
|
|
||||||
description: BOB regulator parent supply phandle.
|
|
||||||
vdd-l1-l8-supply: true
|
|
||||||
vdd-l2-l3-supply: true
|
|
||||||
vdd-l4-l5-l6-supply: true
|
|
||||||
vdd-l7-l11-supply: true
|
|
||||||
vdd-l9-l10-supply: true
|
|
||||||
patternProperties:
|
|
||||||
"^vdd-s[1-8]-supply$": true
|
|
||||||
|
|
||||||
- if:
|
- if:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
Loading…
Reference in New Issue