Unverified Commit 835dfb12 authored by Kamal Wadhwa's avatar Kamal Wadhwa Committed by Mark Brown
Browse files

regulator: dt-bindings: rpmh-regulator : Add compatibles for PMH01XX & PMCX0102



Add rpmh-regulator driver compatibles strings for below PMICs:
- PMH0101
- PMH0104
- PMH0110
- PMCX0102

Also add the supply name properties for the regulators
present on these PMICs.

Co-developed-by: default avatarJishnu Prakash <jishnu.prakash@oss.qualcomm.com>
Signed-off-by: default avatarJishnu Prakash <jishnu.prakash@oss.qualcomm.com>
Signed-off-by: default avatarKamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
Link: https://patch.msgid.link/20250918-glymur-rpmh-regulator-driver-v3-1-184c09678be3@oss.qualcomm.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3a866087
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
@@ -51,8 +51,12 @@ description: |
      For PM8450, smps1 - smps6, ldo1 - ldo4
      For PM8550, smps1 - smps6, ldo1 - ldo17, bob1 - bob2
      For PM8998, smps1 - smps13, ldo1 - ldo28, lvs1 - lvs2
      For PMH0101, ldo1 - ldo18, bob1 - bob2
      For PMH0104, smps1 - smps4
      For PMH0110, smps1 - smps10, ldo1 - ldo4
      For PMI8998, bob
      For PMC8380, smps1 - smps8, ldo1 - lodo3
      For PMCX0102, smps1 - smps10, ldo1 - ldo4
      For PMR735A, smps1 - smps3, ldo1 - ldo7
      For PMR735B, ldo1 - ldo12
      For PMX55, smps1 - smps7, ldo1 - ldo16
@@ -85,7 +89,11 @@ properties:
      - qcom,pmc8180-rpmh-regulators
      - qcom,pmc8180c-rpmh-regulators
      - qcom,pmc8380-rpmh-regulators
      - qcom,pmcx0102-rpmh-regulators
      - qcom,pmg1110-rpmh-regulators
      - qcom,pmh0101-rpmh-regulators
      - qcom,pmh0104-rpmh-regulators
      - qcom,pmh0110-rpmh-regulators
      - qcom,pmi8998-rpmh-regulators
      - qcom,pmm8155au-rpmh-regulators
      - qcom,pmm8654au-rpmh-regulators
@@ -246,6 +254,7 @@ allOf:
        compatible:
          enum:
            - qcom,pm8005-rpmh-regulators
            - qcom,pmh0104-rpmh-regulators
    then:
      patternProperties:
        "^vdd-s[1-4]-supply$": true
@@ -422,6 +431,34 @@ allOf:
      properties:
        vdd-s1-supply: true

  - if:
      properties:
        compatible:
          enum:
            - qcom,pmh0101-rpmh-regulators
    then:
      properties:
        vdd-l1-l4-l10-supply: true
        vdd-l2-l13-l14-supply: true
        vdd-l3-l11-supply: true
        vdd-l5-l16-supply: true
        vdd-l6-l7-supply: true
        vdd-l8-l9-supply: true
      patternProperties:
        "^vdd-l(1[2578])-supply$": true
        "^vdd-bob[1-2]-supply$": true

  - if:
      properties:
        compatible:
          enum:
            - qcom,pmcx0102-rpmh-regulators
            - qcom,pmh0110-rpmh-regulators
    then:
      patternProperties:
        "^vdd-l[1-4]-supply$": true
        "^vdd-s([1-9]|10)-supply$": true

  - if:
      properties:
        compatible: