xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,edp-phy.yaml (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
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    enum:
20      - qcom,sc7280-edp-phy
21      - qcom,sc8180x-edp-phy
22
23  reg:
24    items:
25      - description: PHY base register block
26      - description: tx0 register block
27      - description: tx1 register block
28      - description: PLL register block
29
30  clocks:
31    maxItems: 2
32
33  clock-names:
34    items:
35      - const: aux
36      - const: cfg_ahb
37
38  "#clock-cells":
39    const: 1
40
41  "#phy-cells":
42    const: 0
43
44  vdda-phy-supply: true
45  vdda-pll-supply: true
46
47required:
48  - compatible
49  - reg
50  - clocks
51  - clock-names
52  - "#clock-cells"
53  - "#phy-cells"
54
55additionalProperties: false
56
57examples:
58  - |
59    phy@aec2a00 {
60      compatible = "qcom,sc8180x-edp-phy";
61      reg = <0x0aec2a00 0x1c0>,
62            <0x0aec2200 0xa0>,
63            <0x0aec2600 0xa0>,
64            <0x0aec2000 0x19c>;
65
66      clocks = <&dispcc 0>, <&dispcc 1>;
67      clock-names = "aux", "cfg_ahb";
68
69      #clock-cells = <1>;
70      #phy-cells = <0>;
71
72      vdda-phy-supply = <&vdd_a_edp_0_1p2>;
73      vdda-pll-supply = <&vdd_a_edp_0_0p9>;
74    };
75...
76