Allwinner A10 Display Engine Frontend

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-frontend.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The display engine frontend does formats conversion, scaling, deinterlacing and color space conversion.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-display-frontend", "allwinner,sun5i-a13-display-frontend", "allwinner,sun6i-a31-display-frontend", "allwinner,sun7i-a20-display-frontend", "allwinner,sun8i-a23-display-frontend", "allwinner,sun8i-a33-display-frontend", "allwinner,sun9i-a80-display-frontend"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

The frontend interface clock

Item 2

The frontend module clock

Item 3

The frontend DRAM clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "ram"

interconnects — not listed as required here #

Maximum number of items (maxItems): 1

interconnect-names — not listed as required here #

Exact value (const): "dma-mem"

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"

Required in this object (required): "compatible", "reg", "interrupts", "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/sun4i-a10-ccu.h>
#include <dt-bindings/reset/sun4i-a10-ccu.h>

fe0: display-frontend@1e00000 {
    compatible = "allwinner,sun4i-a10-display-frontend";
    reg = <0x01e00000 0x20000>;
    interrupts = <47>;
    clocks = <&ccu CLK_AHB_DE_FE0>, <&ccu CLK_DE_FE0>,
             <&ccu CLK_DRAM_DE_FE0>;
    clock-names = "ahb", "mod",
                  "ram";
    resets = <&ccu RST_DE_FE0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        fe0_out: port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            fe0_out_be0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&be0_in_fe0>;
            };

            fe0_out_be1: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&be1_in_fe0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 46: FIXME: This should be made required eventually once every SoC will

Line 47: have the MBUS declared.

Line 51: FIXME: This should be made required eventually once every SoC will

Line 52: have the MBUS declared.

Edit this page