Allwinner A10 HDMI Controller
Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun4i-a10-hdmi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The HDMI Encoder supports the HDMI video and audio outputs, and does CEC. It is one end of the pipeline.
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun4i-a10-hdmi"
Rule 2
Exact value (
const):"allwinner,sun5i-a10s-hdmi"
Rule 3
Exact value (
const):"allwinner,sun6i-a31-hdmi"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun7i-a20-hdmi"Item 2
Exact value (
const):"allwinner,sun5i-a10s-hdmi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
The HDMI interface clock
Item 2
The HDMI module clock
Item 3
The first video PLL
Item 4
The second video PLL
Rule 2
Array item rules (
items)Item 1
The HDMI interface clock
Item 2
The HDMI module clock
Item 3
The HDMI DDC clock
Item 4
The first video PLL
Item 5
The second video PLL
clock-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"ahb"Item 2
Exact value (
const):"mod"Item 3
Exact value (
const):"pll-0"Item 4
Exact value (
const):"pll-1"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"ahb"Item 2
Exact value (
const):"mod"Item 3
Exact value (
const):"ddc"Item 4
Exact value (
const):"pll-0"Item 5
Exact value (
const):"pll-1"
resets — not listed as required here #
Maximum number of items (maxItems): 1
dmas — required here #
Array item rules (items) #
Item 1
DDC Transmission DMA Channel
Item 2
DDC Reception DMA Channel
Item 3
Audio Transmission DMA Channel
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ddc-tx"
Item 2
Exact value (
const):"ddc-rx"
Item 3
Exact value (
const):"audio-tx"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input endpoints of the controller.
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output endpoints of the controller. Usually an HDMI connector.
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "dmas", "dma-names"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"allwinner,sun6i-a31-hdmi"
When the condition matches (then) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Minimum number of items (
minItems):5
clock-names— not listed as required here #Minimum number of items (
minItems):5
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sun4i-a10-ccu.h>
#include <dt-bindings/dma/sun4i-a10.h>
#include <dt-bindings/reset/sun4i-a10-ccu.h>
hdmi: hdmi@1c16000 {
compatible = "allwinner,sun4i-a10-hdmi";
reg = <0x01c16000 0x1000>;
interrupts = <58>;
clocks = <&ccu CLK_AHB_HDMI0>, <&ccu CLK_HDMI>,
<&ccu CLK_PLL_VIDEO0_2X>,
<&ccu CLK_PLL_VIDEO1_2X>;
clock-names = "ahb", "mod", "pll-0", "pll-1";
dmas = <&dma SUN4I_DMA_NORMAL 16>,
<&dma SUN4I_DMA_NORMAL 16>,
<&dma SUN4I_DMA_DEDICATED 24>;
dma-names = "ddc-tx", "ddc-rx", "audio-tx";
ports {
#address-cells = <1>;
#size-cells = <0>;
hdmi_in: port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
hdmi_in_tcon0: endpoint@0 {
reg = <0>;
remote-endpoint = <&tcon0_out_hdmi>;
};
hdmi_in_tcon1: endpoint@1 {
reg = <1>;
remote-endpoint = <&tcon1_out_hdmi>;
};
};
hdmi_out: port@1 {
reg = <1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0