1184610Salfred# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2184610Salfred%YAML 1.2
3184610Salfred---
4184610Salfred
5184610Salfred$id: http://devicetree.org/schemas/phy/qcom,hdmi-phy-qmp.yaml#
6184610Salfred$schema: http://devicetree.org/meta-schemas/core.yaml#
7184610Salfred
8184610Salfredtitle: Qualcomm Adreno/Snapdragon QMP HDMI phy
9184610Salfred
10184610Salfredmaintainers:
11184610Salfred  - Rob Clark <robdclark@gmail.com>
12184610Salfred
13184610Salfredproperties:
14184610Salfred  compatible:
15184610Salfred    enum:
16184610Salfred      - qcom,hdmi-phy-8996
17184610Salfred
18184610Salfred  reg:
19184610Salfred    maxItems: 6
20188417Sthompsa
21188969Sthompsa  reg-names:
22184610Salfred    items:
23188417Sthompsa      - const: hdmi_pll
24188417Sthompsa      - const: hdmi_tx_l0
25188417Sthompsa      - const: hdmi_tx_l1
26184610Salfred      - const: hdmi_tx_l2
27184610Salfred      - const: hdmi_tx_l3
28188417Sthompsa      - const: hdmi_phy
29188417Sthompsa
30188417Sthompsa  clocks:
31188417Sthompsa    minItems: 2
32188417Sthompsa    maxItems: 3
33188417Sthompsa
34192468Ssam  clock-names:
35192468Ssam    minItems: 2
36188417Sthompsa    items:
37184610Salfred      - const: iface
38184610Salfred      - const: ref
39188417Sthompsa      - const: xo
40188417Sthompsa
41188417Sthompsa  power-domains:
42188417Sthompsa    maxItems: 1
43188417Sthompsa
44192468Ssam  vcca-supply:
45192468Ssam    description: phandle to VCCA supply regulator
46184610Salfred
47188417Sthompsa  vddio-supply:
48188417Sthompsa    description: phandle to VDD I/O supply regulator
49188417Sthompsa
50188417Sthompsa  '#clock-cells':
51188417Sthompsa    const: 0
52188417Sthompsa
53188417Sthompsa  '#phy-cells':
54184610Salfred    const: 0
55184610Salfred
56188417Sthompsarequired:
57188417Sthompsa  - compatible
58188417Sthompsa  - clocks
59188417Sthompsa  - clock-names
60188417Sthompsa  - reg
61184610Salfred  - reg-names
62188417Sthompsa  - '#phy-cells'
63184610Salfred
64188417SthompsaadditionalProperties: false
65188417Sthompsa
66188417Sthompsaexamples:
67188417Sthompsa  - |
68188417Sthompsa    hdmi-phy@9a0600 {
69188417Sthompsa      compatible = "qcom,hdmi-phy-8996";
70188417Sthompsa      reg = <0x009a0600 0x1c4>,
71184610Salfred            <0x009a0a00 0x124>,
72188417Sthompsa            <0x009a0c00 0x124>,
73184610Salfred            <0x009a0e00 0x124>,
74188417Sthompsa            <0x009a1000 0x124>,
75188417Sthompsa            <0x009a1200 0x0c8>;
76188417Sthompsa      reg-names = "hdmi_pll",
77206358Srpaulo                  "hdmi_tx_l0",
78206358Srpaulo                  "hdmi_tx_l1",
79184610Salfred                  "hdmi_tx_l2",
80188417Sthompsa                  "hdmi_tx_l3",
81188417Sthompsa                  "hdmi_phy";
82184610Salfred
83188417Sthompsa      clocks = <&mmcc 116>,
84184610Salfred               <&gcc 214>,
85187259Sthompsa               <&xo_board>;
86188417Sthompsa      clock-names = "iface",
87188417Sthompsa                    "ref",
88188417Sthompsa                    "xo";
89187259Sthompsa      #clock-cells = <0>;
90187259Sthompsa      #phy-cells = <0>;
91184610Salfred
92188417Sthompsa      vddio-supply = <&vreg_l12a_1p8>;
93188417Sthompsa      vcca-supply = <&vreg_l28a_0p925>;
94192984Sthompsa    };
95184610Salfred