xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,hdmi-phy-qmp.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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-qmp.yaml#
6b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7b97ee269SEmmanuel Vadot
8b97ee269SEmmanuel Vadottitle: Qualcomm Adreno/Snapdragon QMP 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-8996
17b97ee269SEmmanuel Vadot
18b97ee269SEmmanuel Vadot  reg:
19b97ee269SEmmanuel Vadot    maxItems: 6
20b97ee269SEmmanuel Vadot
21b97ee269SEmmanuel Vadot  reg-names:
22b97ee269SEmmanuel Vadot    items:
23b97ee269SEmmanuel Vadot      - const: hdmi_pll
24b97ee269SEmmanuel Vadot      - const: hdmi_tx_l0
25b97ee269SEmmanuel Vadot      - const: hdmi_tx_l1
26b97ee269SEmmanuel Vadot      - const: hdmi_tx_l2
27b97ee269SEmmanuel Vadot      - const: hdmi_tx_l3
28b97ee269SEmmanuel Vadot      - const: hdmi_phy
29b97ee269SEmmanuel Vadot
30b97ee269SEmmanuel Vadot  clocks:
31*7ef62cebSEmmanuel Vadot    minItems: 2
32*7ef62cebSEmmanuel Vadot    maxItems: 3
33b97ee269SEmmanuel Vadot
34b97ee269SEmmanuel Vadot  clock-names:
35*7ef62cebSEmmanuel Vadot    minItems: 2
36b97ee269SEmmanuel Vadot    items:
37b97ee269SEmmanuel Vadot      - const: iface
38b97ee269SEmmanuel Vadot      - const: ref
39*7ef62cebSEmmanuel Vadot      - const: xo
40b97ee269SEmmanuel Vadot
41b97ee269SEmmanuel Vadot  power-domains:
42b97ee269SEmmanuel Vadot    maxItems: 1
43b97ee269SEmmanuel Vadot
44b97ee269SEmmanuel Vadot  vcca-supply:
45b97ee269SEmmanuel Vadot    description: phandle to VCCA supply regulator
46b97ee269SEmmanuel Vadot
47b97ee269SEmmanuel Vadot  vddio-supply:
48b97ee269SEmmanuel Vadot    description: phandle to VDD I/O supply regulator
49b97ee269SEmmanuel Vadot
50*7ef62cebSEmmanuel Vadot  '#clock-cells':
51*7ef62cebSEmmanuel Vadot    const: 0
52*7ef62cebSEmmanuel Vadot
53b97ee269SEmmanuel Vadot  '#phy-cells':
54b97ee269SEmmanuel Vadot    const: 0
55b97ee269SEmmanuel Vadot
56b97ee269SEmmanuel Vadotrequired:
57b97ee269SEmmanuel Vadot  - compatible
58b97ee269SEmmanuel Vadot  - clocks
59b97ee269SEmmanuel Vadot  - clock-names
60b97ee269SEmmanuel Vadot  - reg
61b97ee269SEmmanuel Vadot  - reg-names
62b97ee269SEmmanuel Vadot  - '#phy-cells'
63b97ee269SEmmanuel Vadot
64b97ee269SEmmanuel VadotadditionalProperties: false
65b97ee269SEmmanuel Vadot
66b97ee269SEmmanuel Vadotexamples:
67b97ee269SEmmanuel Vadot  - |
68b97ee269SEmmanuel Vadot    hdmi-phy@9a0600 {
69b97ee269SEmmanuel Vadot      compatible = "qcom,hdmi-phy-8996";
70b97ee269SEmmanuel Vadot      reg = <0x009a0600 0x1c4>,
71b97ee269SEmmanuel Vadot            <0x009a0a00 0x124>,
72b97ee269SEmmanuel Vadot            <0x009a0c00 0x124>,
73b97ee269SEmmanuel Vadot            <0x009a0e00 0x124>,
74b97ee269SEmmanuel Vadot            <0x009a1000 0x124>,
75b97ee269SEmmanuel Vadot            <0x009a1200 0x0c8>;
76b97ee269SEmmanuel Vadot      reg-names = "hdmi_pll",
77b97ee269SEmmanuel Vadot                  "hdmi_tx_l0",
78b97ee269SEmmanuel Vadot                  "hdmi_tx_l1",
79b97ee269SEmmanuel Vadot                  "hdmi_tx_l2",
80b97ee269SEmmanuel Vadot                  "hdmi_tx_l3",
81b97ee269SEmmanuel Vadot                  "hdmi_phy";
82b97ee269SEmmanuel Vadot
83b97ee269SEmmanuel Vadot      clocks = <&mmcc 116>,
84*7ef62cebSEmmanuel Vadot               <&gcc 214>,
85*7ef62cebSEmmanuel Vadot               <&xo_board>;
86b97ee269SEmmanuel Vadot      clock-names = "iface",
87*7ef62cebSEmmanuel Vadot                    "ref",
88*7ef62cebSEmmanuel Vadot                    "xo";
89*7ef62cebSEmmanuel Vadot      #clock-cells = <0>;
90b97ee269SEmmanuel Vadot      #phy-cells = <0>;
91b97ee269SEmmanuel Vadot
92b97ee269SEmmanuel Vadot      vddio-supply = <&vreg_l12a_1p8>;
93b97ee269SEmmanuel Vadot      vcca-supply = <&vreg_l28a_0p925>;
94b97ee269SEmmanuel Vadot    };
95