xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,edp-phy.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot
3e67e8565SEmmanuel Vadot%YAML 1.2
4e67e8565SEmmanuel Vadot---
5e67e8565SEmmanuel Vadot$id: "http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#"
6e67e8565SEmmanuel 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
22*7ef62cebSEmmanuel Vadot      - qcom,sc8280xp-dp-phy
23*7ef62cebSEmmanuel Vadot      - qcom,sc8280xp-edp-phy
24e67e8565SEmmanuel Vadot
25e67e8565SEmmanuel Vadot  reg:
26e67e8565SEmmanuel Vadot    items:
27e67e8565SEmmanuel Vadot      - description: PHY base register block
28e67e8565SEmmanuel Vadot      - description: tx0 register block
29e67e8565SEmmanuel Vadot      - description: tx1 register block
30e67e8565SEmmanuel Vadot      - description: PLL register block
31e67e8565SEmmanuel Vadot
32e67e8565SEmmanuel Vadot  clocks:
33e67e8565SEmmanuel Vadot    maxItems: 2
34e67e8565SEmmanuel Vadot
35e67e8565SEmmanuel Vadot  clock-names:
36e67e8565SEmmanuel Vadot    items:
37e67e8565SEmmanuel Vadot      - const: aux
38e67e8565SEmmanuel Vadot      - const: cfg_ahb
39e67e8565SEmmanuel Vadot
40e67e8565SEmmanuel Vadot  "#clock-cells":
41e67e8565SEmmanuel Vadot    const: 1
42e67e8565SEmmanuel Vadot
43e67e8565SEmmanuel Vadot  "#phy-cells":
44e67e8565SEmmanuel Vadot    const: 0
45e67e8565SEmmanuel Vadot
46b97ee269SEmmanuel Vadot  vdda-phy-supply: true
47b97ee269SEmmanuel Vadot  vdda-pll-supply: true
48b97ee269SEmmanuel Vadot
49e67e8565SEmmanuel Vadotrequired:
50e67e8565SEmmanuel Vadot  - compatible
51e67e8565SEmmanuel Vadot  - reg
52e67e8565SEmmanuel Vadot  - clocks
53e67e8565SEmmanuel Vadot  - clock-names
54e67e8565SEmmanuel Vadot  - "#clock-cells"
55e67e8565SEmmanuel Vadot  - "#phy-cells"
56e67e8565SEmmanuel Vadot
57e67e8565SEmmanuel VadotadditionalProperties: false
58e67e8565SEmmanuel Vadot
59e67e8565SEmmanuel Vadotexamples:
60e67e8565SEmmanuel Vadot  - |
61e67e8565SEmmanuel Vadot    phy@aec2a00 {
62e67e8565SEmmanuel Vadot      compatible = "qcom,sc8180x-edp-phy";
63e67e8565SEmmanuel Vadot      reg = <0x0aec2a00 0x1c0>,
64e67e8565SEmmanuel Vadot            <0x0aec2200 0xa0>,
65e67e8565SEmmanuel Vadot            <0x0aec2600 0xa0>,
66e67e8565SEmmanuel Vadot            <0x0aec2000 0x19c>;
67e67e8565SEmmanuel Vadot
68e67e8565SEmmanuel Vadot      clocks = <&dispcc 0>, <&dispcc 1>;
69e67e8565SEmmanuel Vadot      clock-names = "aux", "cfg_ahb";
70e67e8565SEmmanuel Vadot
71e67e8565SEmmanuel Vadot      #clock-cells = <1>;
72e67e8565SEmmanuel Vadot      #phy-cells = <0>;
73b97ee269SEmmanuel Vadot
74b97ee269SEmmanuel Vadot      vdda-phy-supply = <&vdd_a_edp_0_1p2>;
75b97ee269SEmmanuel Vadot      vdda-pll-supply = <&vdd_a_edp_0_0p9>;
76e67e8565SEmmanuel Vadot    };
77e67e8565SEmmanuel Vadot...
78