Amlogic Canvas Video Lookup Table

Schema identifier ($id): "http://devicetree.org/schemas/soc/amlogic/amlogic,canvas.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Maxime Jourdan <mjourdan@baylibre.com>"

A canvas is a collection of metadata that describes a pixel buffer. Those metadata include: width, height, phyaddr, wrapping and block mode. Starting with GXBB the endianness can also be described.

Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data rather than use the phy addresses directly. For instance, this is the case for the video decoders and the display.

Amlogic SoCs have 256 canvas.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "amlogic,meson8-canvas", "amlogic,meson8b-canvas", "amlogic,meson8m2-canvas"

Item 2

Exact value (const): "amlogic,canvas"

Rule 2

Exact value (const): "amlogic,canvas"

reg — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

canvas: video-lut@48 {
    compatible = "amlogic,canvas";
    reg = <0x48 0x14>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2019 BayLibre, SAS

Line 34: GXBB and newer SoCs

Edit this page