Nuvoton NPCM Video Capture/Differentiation Engine

Schema identifier ($id): "http://devicetree.org/schemas/media/nuvoton,npcm-vcd.yaml#"

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

Maintainers (maintainers): "Joseph Liu <kwliu@nuvoton.com>", "Marvin Lin <kflin@nuvoton.com>"

Video Capture/Differentiation Engine (VCD) present on Nuvoton NPCM SoCs.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nuvoton,npcm750-vcd", "nuvoton,npcm845-vcd"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

nuvoton,sysgcr — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to access GCR (Global Control Register) registers.

nuvoton,sysgfxi — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to access GFXI (Graphics Core Information) registers.

nuvoton,ece — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to access ECE (Encoding Compression Engine) registers.

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

CMA pool to use for buffers allocation instead of the default CMA pool.

Required in this object (required): "compatible", "reg", "interrupts", "resets", "nuvoton,sysgcr", "nuvoton,sysgfxi", "nuvoton,ece"

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/reset/nuvoton,npcm7xx-reset.h>

vcd: vcd@f0810000 {
    compatible = "nuvoton,npcm750-vcd";
    reg = <0xf0810000 0x10000>;
    interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
    resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>;
    nuvoton,sysgcr = <&gcr>;
    nuvoton,sysgfxi = <&gfxi>;
    nuvoton,ece = <&ece>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page