ASPEED Video Engine
Schema identifier ($id): "http://devicetree.org/schemas/media/aspeed,video-engine.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The Video Engine (VE) embedded in the ASPEED SOCs can be configured to capture and compress video data from digital or analog sources.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2400-video-engine", "aspeed,ast2500-video-engine", "aspeed,ast2600-video-engine"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vclk"
Item 2
Exact value (
const):"eclk"
resets — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
Phandle to the reserved memory nodes to be associated with the
VE. VE will acquires memory space for 3 purposes:
1. JPEG header
2. Compressed result
3. Temporary transformed image data
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
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/ast2600-clock.h>
video@1e700000 {
compatible = "aspeed,ast2600-video-engine";
reg = <0x1e700000 0x1000>;
clocks = <&syscon ASPEED_CLK_GATE_VCLK>,
<&syscon ASPEED_CLK_GATE_ECLK>;
clock-names = "vclk", "eclk";
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)