xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,edp-phy.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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
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
46*f126890aSEmmanuel Vadot  power-domains:
47*f126890aSEmmanuel Vadot    maxItems: 1
48*f126890aSEmmanuel Vadot
49b97ee269SEmmanuel Vadot  vdda-phy-supply: true
50b97ee269SEmmanuel Vadot  vdda-pll-supply: true
51b97ee269SEmmanuel Vadot
52e67e8565SEmmanuel Vadotrequired:
53e67e8565SEmmanuel Vadot  - compatible
54e67e8565SEmmanuel Vadot  - reg
55e67e8565SEmmanuel Vadot  - clocks
56e67e8565SEmmanuel Vadot  - clock-names
57e67e8565SEmmanuel Vadot  - "#clock-cells"
58e67e8565SEmmanuel Vadot  - "#phy-cells"
59e67e8565SEmmanuel Vadot
60e67e8565SEmmanuel VadotadditionalProperties: false
61e67e8565SEmmanuel Vadot
62e67e8565SEmmanuel Vadotexamples:
63e67e8565SEmmanuel Vadot  - |
64e67e8565SEmmanuel Vadot    phy@aec2a00 {
65e67e8565SEmmanuel Vadot      compatible = "qcom,sc8180x-edp-phy";
66e67e8565SEmmanuel Vadot      reg = <0x0aec2a00 0x1c0>,
67e67e8565SEmmanuel Vadot            <0x0aec2200 0xa0>,
68e67e8565SEmmanuel Vadot            <0x0aec2600 0xa0>,
69e67e8565SEmmanuel Vadot            <0x0aec2000 0x19c>;
70e67e8565SEmmanuel Vadot
71e67e8565SEmmanuel Vadot      clocks = <&dispcc 0>, <&dispcc 1>;
72e67e8565SEmmanuel Vadot      clock-names = "aux", "cfg_ahb";
73e67e8565SEmmanuel Vadot
74e67e8565SEmmanuel Vadot      #clock-cells = <1>;
75e67e8565SEmmanuel Vadot      #phy-cells = <0>;
76b97ee269SEmmanuel Vadot
77b97ee269SEmmanuel Vadot      vdda-phy-supply = <&vdd_a_edp_0_1p2>;
78b97ee269SEmmanuel Vadot      vdda-pll-supply = <&vdd_a_edp_0_0p9>;
79e67e8565SEmmanuel Vadot    };
80e67e8565SEmmanuel Vadot...
81