Allwinner H3 Deinterlace

Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun8i-h3-deinterlace.yaml#"

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

Maintainers (maintainers): "Jernej Skrabec <jernej.skrabec@siol.net>", "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The Allwinner H3 and later has a deinterlace core used for deinterlacing interlaced video content.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun8i-h3-deinterlace"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun8i-r40-deinterlace"

Item 2

Exact value (const): "allwinner,sun8i-h3-deinterlace"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun50i-a64-deinterlace"

Item 2

Exact value (const): "allwinner,sun8i-h3-deinterlace"

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

Deinterlace interface clock

Item 2

Deinterlace module clock

Item 3

Deinterlace DRAM clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "ram"

resets — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 1

interconnect-names — not listed as required here #

Exact value (const): "dma-mem"

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-h3-ccu.h>
#include <dt-bindings/reset/sun8i-h3-ccu.h>

deinterlace: deinterlace@1400000 {
    compatible = "allwinner,sun8i-h3-deinterlace";
    reg = <0x01400000 0x20000>;
    clocks = <&ccu CLK_BUS_DEINTERLACE>,
             <&ccu CLK_DEINTERLACE>,
             <&ccu CLK_DRAM_DEINTERLACE>;
    clock-names = "bus", "mod", "ram";
    resets = <&ccu RST_BUS_DEINTERLACE>;
    interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
    interconnects = <&mbus 9>;
    interconnect-names = "dma-mem";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page