xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,hdmi-phy-other.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2b97ee269SEmmanuel Vadot%YAML 1.2
3b97ee269SEmmanuel Vadot---
4b97ee269SEmmanuel Vadot
5b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,hdmi-phy-other.yaml#
6b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7b97ee269SEmmanuel Vadot
8b97ee269SEmmanuel Vadottitle: Qualcomm Adreno/Snapdragon HDMI phy
9b97ee269SEmmanuel Vadot
10b97ee269SEmmanuel Vadotmaintainers:
11b97ee269SEmmanuel Vadot  - Rob Clark <robdclark@gmail.com>
12b97ee269SEmmanuel Vadot
13b97ee269SEmmanuel Vadotproperties:
14b97ee269SEmmanuel Vadot  compatible:
15b97ee269SEmmanuel Vadot    enum:
16b97ee269SEmmanuel Vadot      - qcom,hdmi-phy-8660
17b97ee269SEmmanuel Vadot      - qcom,hdmi-phy-8960
18b97ee269SEmmanuel Vadot      - qcom,hdmi-phy-8974
19b97ee269SEmmanuel Vadot      - qcom,hdmi-phy-8084
20b97ee269SEmmanuel Vadot
21b97ee269SEmmanuel Vadot  reg:
22b97ee269SEmmanuel Vadot    maxItems: 2
23b97ee269SEmmanuel Vadot
24b97ee269SEmmanuel Vadot  reg-names:
25b97ee269SEmmanuel Vadot    items:
26b97ee269SEmmanuel Vadot      - const: hdmi_phy
27b97ee269SEmmanuel Vadot      - const: hdmi_pll
28b97ee269SEmmanuel Vadot
29b97ee269SEmmanuel Vadot  clocks:
30b97ee269SEmmanuel Vadot    minItems: 1
31b97ee269SEmmanuel Vadot    maxItems: 2
32b97ee269SEmmanuel Vadot
33b97ee269SEmmanuel Vadot  clock-names:
34b97ee269SEmmanuel Vadot    minItems: 1
35b97ee269SEmmanuel Vadot    maxItems: 2
36b97ee269SEmmanuel Vadot
37b97ee269SEmmanuel Vadot  power-domains:
38b97ee269SEmmanuel Vadot    maxItems: 1
39b97ee269SEmmanuel Vadot
40b97ee269SEmmanuel Vadot  core-vdda-supply:
41b97ee269SEmmanuel Vadot    description: phandle to VDDA supply regulator
42b97ee269SEmmanuel Vadot
43b97ee269SEmmanuel Vadot  vddio-supply:
44b97ee269SEmmanuel Vadot    description: phandle to VDD I/O supply regulator
45b97ee269SEmmanuel Vadot
46*cb7aa33aSEmmanuel Vadot  '#clock-cells':
47*cb7aa33aSEmmanuel Vadot    const: 0
48*cb7aa33aSEmmanuel Vadot
49b97ee269SEmmanuel Vadot  '#phy-cells':
50b97ee269SEmmanuel Vadot    const: 0
51b97ee269SEmmanuel Vadot
52b97ee269SEmmanuel VadotallOf:
53b97ee269SEmmanuel Vadot  - if:
54b97ee269SEmmanuel Vadot      properties:
55b97ee269SEmmanuel Vadot        compatible:
56b97ee269SEmmanuel Vadot          contains:
57b97ee269SEmmanuel Vadot            enum:
58b97ee269SEmmanuel Vadot              - qcom,hdmi-phy-8660
59b97ee269SEmmanuel Vadot    then:
60b97ee269SEmmanuel Vadot      properties:
61b97ee269SEmmanuel Vadot        clocks:
62b97ee269SEmmanuel Vadot          maxItems: 1
63b97ee269SEmmanuel Vadot        clock-names:
64b97ee269SEmmanuel Vadot          items:
65b97ee269SEmmanuel Vadot            - const: slave_iface
66b97ee269SEmmanuel Vadot        vddio-supply: false
67b97ee269SEmmanuel Vadot
68b97ee269SEmmanuel Vadot  - if:
69b97ee269SEmmanuel Vadot      properties:
70b97ee269SEmmanuel Vadot        compatible:
71b97ee269SEmmanuel Vadot          contains:
72b97ee269SEmmanuel Vadot            enum:
73*cb7aa33aSEmmanuel Vadot              - qcom,hdmi-phy-8960
74*cb7aa33aSEmmanuel Vadot    then:
75*cb7aa33aSEmmanuel Vadot      properties:
76*cb7aa33aSEmmanuel Vadot        clocks:
77*cb7aa33aSEmmanuel Vadot          minItems: 1
78*cb7aa33aSEmmanuel Vadot          maxItems: 2
79*cb7aa33aSEmmanuel Vadot        clock-names:
80*cb7aa33aSEmmanuel Vadot          minItems: 1
81*cb7aa33aSEmmanuel Vadot          items:
82*cb7aa33aSEmmanuel Vadot            - const: slave_iface
83*cb7aa33aSEmmanuel Vadot            - const: pxo
84*cb7aa33aSEmmanuel Vadot        vddio-supply: false
85*cb7aa33aSEmmanuel Vadot
86*cb7aa33aSEmmanuel Vadot  - if:
87*cb7aa33aSEmmanuel Vadot      properties:
88*cb7aa33aSEmmanuel Vadot        compatible:
89*cb7aa33aSEmmanuel Vadot          contains:
90*cb7aa33aSEmmanuel Vadot            enum:
91b97ee269SEmmanuel Vadot              - qcom,hdmi-phy-8084
92b97ee269SEmmanuel Vadot              - qcom,hdmi-phy-8974
93b97ee269SEmmanuel Vadot    then:
94b97ee269SEmmanuel Vadot      properties:
95b97ee269SEmmanuel Vadot        clocks:
96b97ee269SEmmanuel Vadot          maxItems: 2
97b97ee269SEmmanuel Vadot        clock-names:
98b97ee269SEmmanuel Vadot          items:
99b97ee269SEmmanuel Vadot            - const: iface
100b97ee269SEmmanuel Vadot            - const: alt_iface
101b97ee269SEmmanuel Vadot
102b97ee269SEmmanuel Vadotrequired:
103b97ee269SEmmanuel Vadot  - compatible
104b97ee269SEmmanuel Vadot  - clocks
105b97ee269SEmmanuel Vadot  - reg
106b97ee269SEmmanuel Vadot  - reg-names
107b97ee269SEmmanuel Vadot  - '#phy-cells'
108b97ee269SEmmanuel Vadot
109b97ee269SEmmanuel VadotadditionalProperties: false
110b97ee269SEmmanuel Vadot
111b97ee269SEmmanuel Vadotexamples:
112b97ee269SEmmanuel Vadot  - |
113b97ee269SEmmanuel Vadot    hdmi_phy: phy@4a00400 {
114b97ee269SEmmanuel Vadot      compatible = "qcom,hdmi-phy-8960";
115b97ee269SEmmanuel Vadot      reg-names = "hdmi_phy",
116b97ee269SEmmanuel Vadot                  "hdmi_pll";
117b97ee269SEmmanuel Vadot      reg = <0x4a00400 0x60>,
118b97ee269SEmmanuel Vadot            <0x4a00500 0x100>;
119*cb7aa33aSEmmanuel Vadot      #clock-cells = <0>;
120b97ee269SEmmanuel Vadot      #phy-cells = <0>;
121b97ee269SEmmanuel Vadot      power-domains = <&mmcc 1>;
122*cb7aa33aSEmmanuel Vadot      clock-names = "slave_iface", "pxo";
123*cb7aa33aSEmmanuel Vadot      clocks = <&clk 21>, <&pxo_board>;
124b97ee269SEmmanuel Vadot      core-vdda-supply = <&pm8921_hdmi_mvs>;
125b97ee269SEmmanuel Vadot    };
126