Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml
53158 views
1
# SPDX-License-Identifier: GPL-2.0
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Broadcom BCM2711 HDMI Controller
8
9
maintainers:
10
- Eric Anholt <eric@anholt.net>
11
12
properties:
13
compatible:
14
enum:
15
- brcm,bcm2711-hdmi0
16
- brcm,bcm2711-hdmi1
17
- brcm,bcm2712-hdmi0
18
- brcm,bcm2712-hdmi1
19
20
reg:
21
items:
22
- description: HDMI controller register range
23
- description: DVP register range
24
- description: HDMI PHY register range
25
- description: Rate Manager register range
26
- description: Packet RAM register range
27
- description: Metadata RAM register range
28
- description: CSC register range
29
- description: CEC register range
30
- description: HD register range
31
32
reg-names:
33
items:
34
- const: hdmi
35
- const: dvp
36
- const: phy
37
- const: rm
38
- const: packet
39
- const: metadata
40
- const: csc
41
- const: cec
42
- const: hd
43
44
clocks:
45
items:
46
- description: The HDMI state machine clock
47
- description: The Pixel BVB clock
48
- description: The HDMI Audio parent clock
49
- description: The HDMI CEC parent clock
50
51
clock-names:
52
items:
53
- const: hdmi
54
- const: bvb
55
- const: audio
56
- const: cec
57
58
interrupts:
59
minItems: 5
60
maxItems: 6
61
62
interrupt-names:
63
minItems: 5
64
maxItems: 6
65
66
ddc:
67
$ref: /schemas/types.yaml#/definitions/phandle
68
description: >
69
Phandle of the I2C controller used for DDC EDID probing
70
71
hpd-gpios:
72
maxItems: 1
73
description: >
74
The GPIO pin for the HDMI hotplug detect (if it doesn't appear
75
as an interrupt/status bit in the HDMI controller itself)
76
77
dmas:
78
maxItems: 1
79
description: >
80
Should contain one entry pointing to the DMA channel used to
81
transfer audio data.
82
83
dma-names:
84
const: audio-rx
85
86
resets:
87
maxItems: 1
88
89
wifi-2.4ghz-coexistence:
90
type: boolean
91
description: >
92
Should the pixel frequencies in the WiFi frequencies range be
93
avoided?
94
95
required:
96
- compatible
97
- reg
98
- reg-names
99
- clocks
100
- resets
101
- ddc
102
103
additionalProperties: false
104
105
allOf:
106
- if:
107
properties:
108
compatible:
109
contains:
110
enum:
111
- brcm,bcm2711-hdmi0
112
- brcm,bcm2711-hdmi1
113
then:
114
properties:
115
interrupts:
116
items:
117
- description: CEC TX interrupt
118
- description: CEC RX interrupt
119
- description: CEC stuck at low interrupt
120
- description: Wake-up interrupt
121
- description: Hotplug connected interrupt
122
- description: Hotplug removed interrupt
123
interrupt-names:
124
items:
125
- const: cec-tx
126
- const: cec-rx
127
- const: cec-low
128
- const: wakeup
129
- const: hpd-connected
130
- const: hpd-removed
131
132
- if:
133
properties:
134
compatible:
135
contains:
136
enum:
137
- brcm,bcm2712-hdmi0
138
- brcm,bcm2712-hdmi1
139
then:
140
properties:
141
interrupts:
142
items:
143
- description: CEC TX interrupt
144
- description: CEC RX interrupt
145
- description: CEC stuck at low interrupt
146
- description: Hotplug connected interrupt
147
- description: Hotplug removed interrupt
148
interrupts-names:
149
items:
150
- const: cec-tx
151
- const: cec-rx
152
- const: cec-low
153
- const: hpd-connected
154
- const: hpd-removed
155
156
required:
157
- interrupts
158
- interrupt-names
159
160
examples:
161
- |
162
hdmi0: hdmi@7ef00700 {
163
compatible = "brcm,bcm2711-hdmi0";
164
reg = <0x7ef00700 0x300>,
165
<0x7ef00300 0x200>,
166
<0x7ef00f00 0x80>,
167
<0x7ef00f80 0x80>,
168
<0x7ef01b00 0x200>,
169
<0x7ef01f00 0x400>,
170
<0x7ef00200 0x80>,
171
<0x7ef04300 0x100>,
172
<0x7ef20000 0x100>;
173
reg-names = "hdmi",
174
"dvp",
175
"phy",
176
"rm",
177
"packet",
178
"metadata",
179
"csc",
180
"cec",
181
"hd";
182
clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>;
183
clock-names = "hdmi", "bvb", "audio", "cec";
184
interrupts = <0>, <1>, <2>, <3>, <4>, <5>;
185
interrupt-names = "cec-tx", "cec-rx", "cec-low", "wakeup",
186
"hpd-connected", "hpd-removed";
187
resets = <&dvp 0>;
188
ddc = <&ddc0>;
189
};
190
191
...
192
193