mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +00:00
regulator: dt-bindings: qcom,rpmh: Correct PM8550 family supplies
PM8550 is different than PM8550VE/VS, because the latter has much smaller amount of supplies (l1-3 and s1-6) and regulators. The PM8550 has on the other hand one pin for vdd-l1-l4-l10 supplies. Correct the if:then: clause with their supplies. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230327080626.24200-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d877cad6ed
commit
902f8c9830
@ -329,19 +329,29 @@ allOf:
|
|||||||
compatible:
|
compatible:
|
||||||
enum:
|
enum:
|
||||||
- qcom,pm8550-rpmh-regulators
|
- qcom,pm8550-rpmh-regulators
|
||||||
- qcom,pm8550ve-rpmh-regulators
|
|
||||||
- qcom,pm8550vs-rpmh-regulators
|
|
||||||
then:
|
then:
|
||||||
properties:
|
properties:
|
||||||
|
vdd-l1-l4-l10-supply: true
|
||||||
vdd-l2-l13-l14-supply: true
|
vdd-l2-l13-l14-supply: true
|
||||||
vdd-l5-l16-supply: true
|
vdd-l5-l16-supply: true
|
||||||
vdd-l6-l7-supply: true
|
vdd-l6-l7-supply: true
|
||||||
vdd-l8-l9-supply: true
|
vdd-l8-l9-supply: true
|
||||||
patternProperties:
|
patternProperties:
|
||||||
"^vdd-l([1-4]|1[0-7])-supply$": true
|
"^vdd-l(3|1[1-7])-supply$": true
|
||||||
"^vdd-s[1-6]-supply$": true
|
"^vdd-s[1-6]-supply$": true
|
||||||
"^vdd-bob[1-2]-supply$": true
|
"^vdd-bob[1-2]-supply$": true
|
||||||
|
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
enum:
|
||||||
|
- qcom,pm8550ve-rpmh-regulators
|
||||||
|
- qcom,pm8550vs-rpmh-regulators
|
||||||
|
then:
|
||||||
|
patternProperties:
|
||||||
|
"^vdd-l[1-3]-supply$": true
|
||||||
|
"^vdd-s[1-6]-supply$": true
|
||||||
|
|
||||||
- if:
|
- if:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
Loading…
Reference in New Issue
Block a user