File Index
Files and directories
Sign in
FILE

qcom,edp-phy.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml YAML
  1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2
  3%YAML 1.2
  4---
  5$id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
  6$schema: http://devicetree.org/meta-schemas/core.yaml#
  7
  8title: Qualcomm eDP PHY
  9
 10maintainers:
 11  - Bjorn Andersson <bjorn.andersson@linaro.org>
 12
 13description:
 14  The Qualcomm eDP PHY is found in a number of Qualcomm platform and provides
 15  the physical interface for Embedded Display Port.
 16
 17properties:
 18  compatible:
 19    oneOf:
 20      - enum:
 21          - qcom,sa8775p-edp-phy
 22          - qcom,sc7280-edp-phy
 23          - qcom,sc8180x-edp-phy
 24          - qcom,sc8280xp-dp-phy
 25          - qcom,sc8280xp-edp-phy
 26          - qcom,x1e80100-dp-phy
 27      - items:
 28          - enum:
 29              - qcom,qcs8300-edp-phy
 30          - const: qcom,sa8775p-edp-phy
 31
 32  reg:
 33    items:
 34      - description: PHY base register block
 35      - description: tx0 register block
 36      - description: tx1 register block
 37      - description: PLL register block
 38
 39  clocks:
 40    minItems: 2
 41    maxItems: 3
 42
 43  clock-names:
 44    minItems: 2
 45    items:
 46      - const: aux
 47      - const: cfg_ahb
 48      - const: ref
 49
 50  "#clock-cells":
 51    const: 1
 52
 53  "#phy-cells":
 54    const: 0
 55
 56  power-domains:
 57    maxItems: 1
 58
 59  vdda-phy-supply: true
 60  vdda-pll-supply: true
 61
 62required:
 63  - compatible
 64  - reg
 65  - clocks
 66  - clock-names
 67  - "#clock-cells"
 68  - "#phy-cells"
 69
 70allOf:
 71  - if:
 72      properties:
 73        compatible:
 74          enum:
 75            - qcom,x1e80100-dp-phy
 76    then:
 77      properties:
 78        clocks:
 79          minItems: 3
 80          maxItems: 3
 81        clock-names:
 82          minItems: 3
 83          maxItems: 3
 84    else:
 85      properties:
 86        clocks:
 87          minItems: 2
 88          maxItems: 2
 89        clock-names:
 90          minItems: 2
 91          maxItems: 2
 92
 93additionalProperties: false
 94
 95examples:
 96  - |
 97    phy@aec2a00 {
 98      compatible = "qcom,sc8180x-edp-phy";
 99      reg = <0x0aec2a00 0x1c0>,
100            <0x0aec2200 0xa0>,
101            <0x0aec2600 0xa0>,
102            <0x0aec2000 0x19c>;
103
104      clocks = <&dispcc 0>, <&dispcc 1>;
105      clock-names = "aux", "cfg_ahb";
106
107      #clock-cells = <1>;
108      #phy-cells = <0>;
109
110      vdda-phy-supply = <&vdd_a_edp_0_1p2>;
111      vdda-pll-supply = <&vdd_a_edp_0_0p9>;
112    };
113...
~/ Read-only file preview.