1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-hdmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 HDMI Controller
10 The HDMI Encoder supports the HDMI video and audio outputs, and does
11 CEC. It is one end of the pipeline.
14 - Chen-Yu Tsai <wens@csie.org>
15 - Maxime Ripard <mripard@kernel.org>
20 - const: allwinner,sun4i-a10-hdmi
21 - const: allwinner,sun5i-a10s-hdmi
22 - const: allwinner,sun6i-a31-hdmi
24 - const: allwinner,sun7i-a20-hdmi
25 - const: allwinner,sun5i-a10s-hdmi
36 - description: The HDMI interface clock
37 - description: The HDMI module clock
38 - description: The first video PLL
39 - description: The second video PLL
42 - description: The HDMI interface clock
43 - description: The HDMI module clock
44 - description: The HDMI DDC clock
45 - description: The first video PLL
46 - description: The second video PLL
68 - description: DDC Transmission DMA Channel
69 - description: DDC Reception DMA Channel
70 - description: Audio Transmission DMA Channel
79 $ref: /schemas/graph.yaml#/properties/ports
83 $ref: /schemas/graph.yaml#/properties/port
85 Input endpoints of the controller.
88 $ref: /schemas/graph.yaml#/properties/port
90 Output endpoints of the controller. Usually an HDMI
110 const: allwinner,sun6i-a31-hdmi
123 additionalProperties: false
127 #include <dt-bindings/clock/sun4i-a10-ccu.h>
128 #include <dt-bindings/dma/sun4i-a10.h>
129 #include <dt-bindings/reset/sun4i-a10-ccu.h>
132 compatible = "allwinner,sun4i-a10-hdmi";
133 reg = <0x01c16000 0x1000>;
135 clocks = <&ccu CLK_AHB_HDMI0>, <&ccu CLK_HDMI>,
136 <&ccu CLK_PLL_VIDEO0_2X>,
137 <&ccu CLK_PLL_VIDEO1_2X>;
138 clock-names = "ahb", "mod", "pll-0", "pll-1";
139 dmas = <&dma SUN4I_DMA_NORMAL 16>,
140 <&dma SUN4I_DMA_NORMAL 16>,
141 <&dma SUN4I_DMA_DEDICATED 24>;
142 dma-names = "ddc-tx", "ddc-rx", "audio-tx";
145 #address-cells = <1>;
149 #address-cells = <1>;
153 hdmi_in_tcon0: endpoint@0 {
155 remote-endpoint = <&tcon0_out_hdmi>;
158 hdmi_in_tcon1: endpoint@1 {
160 remote-endpoint = <&tcon1_out_hdmi>;