Allwinner Display Engine 2.0 Mixer
Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun8i-a83t-de2-mixer.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "allwinner,sun8i-a83t-de2-mixer-0", "allwinner,sun8i-a83t-de2-mixer-1", "allwinner,sun8i-h3-de2-mixer-0", "allwinner,sun8i-r40-de2-mixer-0", "allwinner,sun8i-r40-de2-mixer-1", "allwinner,sun8i-v3s-de2-mixer", "allwinner,sun20i-d1-de2-mixer-0", "allwinner,sun20i-d1-de2-mixer-1", "allwinner,sun50i-a64-de2-mixer-0", "allwinner,sun50i-a64-de2-mixer-1", "allwinner,sun50i-h6-de3-mixer-0", "allwinner,sun50i-h616-de33-mixer-0"
reg — required here #
true — No constraints added by this property rule.
reg-names — not listed as required here #
true — No constraints added by this property rule.
clocks — required here #
Array item rules (items) #
Item 1
The mixer interface clock
Item 2
The mixer module clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
Required in this object (required): "port@1"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereRegisters for controlling individual layers of the display engine (layers), global control (top), and display blending control (display). Names are from Allwinner BSP kernel.
Maximum number of items (
maxItems):3
reg-names— required hereArray item rules (
items)Item 1
Exact value (
const):"layers"Item 2
Exact value (
const):"top"Item 3
Exact value (
const):"display"When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sun8i-de2.h>
#include <dt-bindings/reset/sun8i-de2.h>
mixer0: mixer@1100000 {
compatible = "allwinner,sun8i-a83t-de2-mixer-0";
reg = <0x01100000 0x100000>;
clocks = <&display_clocks CLK_BUS_MIXER0>,
<&display_clocks CLK_MIXER0>;
clock-names = "bus",
"mod";
resets = <&display_clocks RST_MIXER0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
mixer0_out: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
mixer0_out_tcon0: endpoint@0 {
reg = <0>;
remote-endpoint = <&tcon0_in_mixer0>;
};
mixer0_out_tcon1: endpoint@1 {
reg = <1>;
remote-endpoint = <&tcon1_in_mixer0>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0