xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,edp-phy.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
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:
19*c9ccf3a3SEmmanuel Vadot    enum:
20*c9ccf3a3SEmmanuel Vadot      - qcom,sc7280-edp-phy
21*c9ccf3a3SEmmanuel 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
44e67e8565SEmmanuel Vadotrequired:
45e67e8565SEmmanuel Vadot  - compatible
46e67e8565SEmmanuel Vadot  - reg
47e67e8565SEmmanuel Vadot  - clocks
48e67e8565SEmmanuel Vadot  - clock-names
49e67e8565SEmmanuel Vadot  - "#clock-cells"
50e67e8565SEmmanuel Vadot  - "#phy-cells"
51e67e8565SEmmanuel Vadot
52e67e8565SEmmanuel VadotadditionalProperties: false
53e67e8565SEmmanuel Vadot
54e67e8565SEmmanuel Vadotexamples:
55e67e8565SEmmanuel Vadot  - |
56e67e8565SEmmanuel Vadot    phy@aec2a00 {
57e67e8565SEmmanuel Vadot      compatible = "qcom,sc8180x-edp-phy";
58e67e8565SEmmanuel Vadot      reg = <0x0aec2a00 0x1c0>,
59e67e8565SEmmanuel Vadot            <0x0aec2200 0xa0>,
60e67e8565SEmmanuel Vadot            <0x0aec2600 0xa0>,
61e67e8565SEmmanuel Vadot            <0x0aec2000 0x19c>;
62e67e8565SEmmanuel Vadot
63e67e8565SEmmanuel Vadot      clocks = <&dispcc 0>, <&dispcc 1>;
64e67e8565SEmmanuel Vadot      clock-names = "aux", "cfg_ahb";
65e67e8565SEmmanuel Vadot
66e67e8565SEmmanuel Vadot      #clock-cells = <1>;
67e67e8565SEmmanuel Vadot      #phy-cells = <0>;
68e67e8565SEmmanuel Vadot    };
69e67e8565SEmmanuel Vadot...
70