diff options
author | Krzysztof Kozlowski | 2023-04-18 09:17:34 +0200 |
---|---|---|
committer | Mark Brown | 2023-04-18 14:02:31 +0100 |
commit | ed479907ff79007548c3bd1aed387f8cf0a62065 (patch) | |
tree | 4f52a1c6fcb0c303268b7f91717fe044de215778 | |
parent | 37473397b852f556d8b9428ccbfd51886037842d (diff) |
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>
-rw-r--r-- | Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml index 5f9ae89a220d..b9498504ad79 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml @@ -147,6 +147,8 @@ allOf: compatible: enum: - qcom,pm6150l-rpmh-regulators + - qcom,pm8150l-rpmh-regulators + - qcom,pmc8180c-rpmh-regulators then: properties: vdd-bob-supply: @@ -268,24 +270,6 @@ allOf: 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: - properties: - compatible: - enum: - qcom,pm8350-rpmh-regulators then: properties: |