xref: /freebsd-src/sys/contrib/device-tree/Bindings/phy/qcom,edp-phy.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot
3e67e8565SEmmanuel Vadot%YAML 1.2
4e67e8565SEmmanuel Vadot---
5fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
6fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7e67e8565SEmmanuel Vadot
8e67e8565SEmmanuel Vadottitle: Qualcomm eDP PHY
9e67e8565SEmmanuel Vadot
10e67e8565SEmmanuel Vadotmaintainers:
11e67e8565SEmmanuel Vadot  - Bjorn Andersson <bjorn.andersson@linaro.org>
12e67e8565SEmmanuel Vadot
13e67e8565SEmmanuel Vadotdescription:
14e67e8565SEmmanuel Vadot  The Qualcomm eDP PHY is found in a number of Qualcomm platform and provides
15e67e8565SEmmanuel Vadot  the physical interface for Embedded Display Port.
16e67e8565SEmmanuel Vadot
17e67e8565SEmmanuel Vadotproperties:
18e67e8565SEmmanuel Vadot  compatible:
19c9ccf3a3SEmmanuel Vadot    enum:
20c9ccf3a3SEmmanuel Vadot      - qcom,sc7280-edp-phy
21c9ccf3a3SEmmanuel Vadot      - qcom,sc8180x-edp-phy
227ef62cebSEmmanuel Vadot      - qcom,sc8280xp-dp-phy
237ef62cebSEmmanuel Vadot      - qcom,sc8280xp-edp-phy
24*7d0873ebSEmmanuel Vadot      - qcom,x1e80100-dp-phy
25e67e8565SEmmanuel Vadot
26e67e8565SEmmanuel Vadot  reg:
27e67e8565SEmmanuel Vadot    items:
28e67e8565SEmmanuel Vadot      - description: PHY base register block
29e67e8565SEmmanuel Vadot      - description: tx0 register block
30e67e8565SEmmanuel Vadot      - description: tx1 register block
31e67e8565SEmmanuel Vadot      - description: PLL register block
32e67e8565SEmmanuel Vadot
33e67e8565SEmmanuel Vadot  clocks:
34e67e8565SEmmanuel Vadot    maxItems: 2
35e67e8565SEmmanuel Vadot
36e67e8565SEmmanuel Vadot  clock-names:
37e67e8565SEmmanuel Vadot    items:
38e67e8565SEmmanuel Vadot      - const: aux
39e67e8565SEmmanuel Vadot      - const: cfg_ahb
40e67e8565SEmmanuel Vadot
41e67e8565SEmmanuel Vadot  "#clock-cells":
42e67e8565SEmmanuel Vadot    const: 1
43e67e8565SEmmanuel Vadot
44e67e8565SEmmanuel Vadot  "#phy-cells":
45e67e8565SEmmanuel Vadot    const: 0
46e67e8565SEmmanuel Vadot
47f126890aSEmmanuel Vadot  power-domains:
48f126890aSEmmanuel Vadot    maxItems: 1
49f126890aSEmmanuel Vadot
50b97ee269SEmmanuel Vadot  vdda-phy-supply: true
51b97ee269SEmmanuel Vadot  vdda-pll-supply: true
52b97ee269SEmmanuel Vadot
53e67e8565SEmmanuel Vadotrequired:
54e67e8565SEmmanuel Vadot  - compatible
55e67e8565SEmmanuel Vadot  - reg
56e67e8565SEmmanuel Vadot  - clocks
57e67e8565SEmmanuel Vadot  - clock-names
58e67e8565SEmmanuel Vadot  - "#clock-cells"
59e67e8565SEmmanuel Vadot  - "#phy-cells"
60e67e8565SEmmanuel Vadot
61e67e8565SEmmanuel VadotadditionalProperties: false
62e67e8565SEmmanuel Vadot
63e67e8565SEmmanuel Vadotexamples:
64e67e8565SEmmanuel Vadot  - |
65e67e8565SEmmanuel Vadot    phy@aec2a00 {
66e67e8565SEmmanuel Vadot      compatible = "qcom,sc8180x-edp-phy";
67e67e8565SEmmanuel Vadot      reg = <0x0aec2a00 0x1c0>,
68e67e8565SEmmanuel Vadot            <0x0aec2200 0xa0>,
69e67e8565SEmmanuel Vadot            <0x0aec2600 0xa0>,
70e67e8565SEmmanuel Vadot            <0x0aec2000 0x19c>;
71e67e8565SEmmanuel Vadot
72e67e8565SEmmanuel Vadot      clocks = <&dispcc 0>, <&dispcc 1>;
73e67e8565SEmmanuel Vadot      clock-names = "aux", "cfg_ahb";
74e67e8565SEmmanuel Vadot
75e67e8565SEmmanuel Vadot      #clock-cells = <1>;
76e67e8565SEmmanuel Vadot      #phy-cells = <0>;
77b97ee269SEmmanuel Vadot
78b97ee269SEmmanuel Vadot      vdda-phy-supply = <&vdd_a_edp_0_1p2>;
79b97ee269SEmmanuel Vadot      vdda-pll-supply = <&vdd_a_edp_0_0p9>;
80e67e8565SEmmanuel Vadot    };
81e67e8565SEmmanuel Vadot...
82