1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/display/bridge/adi,adv7511.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADV7511/11W/13 HDMI Encoders
10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
13 The ADV7511, ADV7511W and ADV7513 are HDMI audio and video
14 transmitters compatible with HDMI 1.4 and DVI 1.0. They support color
15 space conversion, S/PDIF, CEC and HDCP. The transmitter input is
16 parallel RGB or YUV data.
29 The ADV7511/11W/13 internal registers are split into four pages
30 exposed through different I2C addresses, creating four register
31 maps. Each map has it own I2C address and acts as a standard slave
32 device on the I2C bus. The main address is mandatory, others are
33 optional and revert to defaults if not specified.
39 Names of maps with programmable addresses. It can contain any map
40 needing a non-default address.
49 description: Reference to the CEC clock.
59 description: GPIO connected to the power down signal.
63 description: A 1.8V supply that powers up the AVDD pin.
66 description: A 1.8V supply that powers up the DVDD pin.
69 description: A 1.8V supply that powers up the PVDD pin.
72 description: A 3.3V supply that powers up the DVDD_3V pin.
75 description: A 1.8V supply that powers up the BGVDD pin.
78 description: Number of bits per color component at the input.
80 - $ref: /schemas/types.yaml#/definitions/uint32
84 description: Input color space.
85 enum: [ rgb, yuv422, yuv444 ]
90 "1x": one clock cycle per pixel
91 "2x": two clock cycles per pixel
92 "dd": one clock cycle per pixel, data driven on both edges
97 Video data clock delay relative to the pixel clock, in ps
99 $ref: /schemas/types.yaml#/definitions/uint32
104 If defined, the input uses synchronization signals embedded in the
105 data stream (similar to BT.656).
110 Input components arrangement variant as listed in the input
111 format tables in the datasheet.
112 $ref: /schemas/types.yaml#/definitions/uint32
115 adi,input-justification:
116 description: Input bit justification.
117 enum: [ left, evenly, right ]
121 The ADV7511(W)/13 has two video ports and one audio port. This node
122 models their connections as documented in
123 Documentation/devicetree/bindings/media/video-interfaces.txt
124 Documentation/devicetree/bindings/graph.txt
128 description: Video port for the RGB or YUV input.
132 description: Video port for the HDMI output.
136 description: Audio port for the HDMI output.
139 # adi,input-colorspace and adi,input-clock are required except in
140 # "rgb 1x" and "yuv444 1x" modes, in which case they must not be
145 adi,input-colorspace:
147 enum: [ rgb, yuv444 ]
155 - adi,input-justification
159 adi,input-style: false
160 adi,input-justification: false
168 - adi,input-colorspace
176 additionalProperties: false
180 #include <dt-bindings/interrupt-controller/irq.h>
183 #address-cells = <1>;
186 reg = <0 0xe6500000>;
189 compatible = "adi,adv7511w";
191 * The EDID page will be accessible on address 0x66 on the I2C
192 * bus. All other maps continue to use their default addresses.
194 reg = <0x39>, <0x66>;
195 reg-names = "main", "edid";
196 interrupt-parent = <&gpio3>;
197 interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
198 clocks = <&cec_clock>;
200 avdd-supply = <&v1v8>;
201 dvdd-supply = <&v1v8>;
202 pvdd-supply = <&v1v8>;
203 dvdd-3v-supply = <&v3v3>;
204 bgvdd-supply = <&v1v8>;
206 adi,input-depth = <8>;
207 adi,input-colorspace = "yuv422";
208 adi,input-clock = "1x";
210 adi,input-style = <3>;
211 adi,input-justification = "right";
213 #address-cells = <1>;
218 adv7511w_in: endpoint {
219 remote-endpoint = <&dpi_out>;
225 adv7511_out: endpoint {
226 remote-endpoint = <&hdmi_connector_in>;
232 codec_endpoint: endpoint {
233 remote-endpoint = <&i2s0_cpu_endpoint>;