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