Unverified Commit 168ed1e8 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Mark Brown
Browse files

regulator: dt-bindings: describe the PMU module of the WCN7850 package



The WCN7850 package contains discrete modules for WLAN and Bluetooth. They
are powered by the Power Management Unit (PMU) that takes inputs from the
host and provides LDO outputs. Extend the bindings for QCA6390 to also
document this model.

Acked-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://msgid.link/r/20240605121450.23697-3-brgl@bgdev.pl


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b5cb34c9
Loading
Loading
Loading
Loading
+35 −1
Original line number Diff line number Diff line
@@ -16,20 +16,37 @@ description:

properties:
  compatible:
    const: qcom,qca6390-pmu
    enum:
      - qcom,qca6390-pmu
      - qcom,wcn7850-pmu

  vdd-supply:
    description: VDD supply regulator handle

  vddaon-supply:
    description: VDD_AON supply regulator handle

  vdddig-supply:
    description: VDD_DIG supply regulator handle

  vddpmu-supply:
    description: VDD_PMU supply regulator handle

  vddio1p2-supply:
    description: VDD_IO_1P2 supply regulator handle

  vddrfa0p95-supply:
    description: VDD_RFA_0P95 supply regulator handle

  vddrfa1p2-supply:
    description: VDD_RFA_1P2 supply regulator handle

  vddrfa1p3-supply:
    description: VDD_RFA_1P3 supply regulator handle

  vddrfa1p8-supply:
    description: VDD_RFA_1P8 supply regulator handle

  vddrfa1p9-supply:
    description: VDD_RFA_1P9 supply regulator handle

@@ -50,6 +67,10 @@ properties:
    maxItems: 1
    description: GPIO line enabling the ATH11K Bluetooth module supplied by the PMU

  clocks:
    maxItems: 1
    description: Reference clock handle

  regulators:
    type: object
    description:
@@ -83,6 +104,19 @@ allOf:
        - vddpcie1p3-supply
        - vddpcie1p9-supply
        - vddio-supply
  - if:
      properties:
        compatible:
          contains:
            const: qcom,wcn7850-pmu
    then:
      required:
        - vdd-supply
        - vddio-supply
        - vddaon-supply
        - vdddig-supply
        - vddrfa1p2-supply
        - vddrfa1p8-supply

additionalProperties: false