Renesas VSP Video Processing Engine
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,vsp1.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The VSP is a video processing engine that supports up-/down-scaling, alpha blending, color space conversion and various other image processing features. It can be found in the Renesas R-Car Gen2, R-Car Gen3, RZ/G1, and RZ/G2 SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"renesas,r9a07g044-vsp2","renesas,vsp1","renesas,vsp2"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a07g043u-vsp2","renesas,r9a07g054-vsp2","renesas,r9a09g056-vsp2","renesas,r9a09g057-vsp2"Item 2
Exact value (
const):"renesas,r9a07g044-vsp2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Main clock
Item 2
Register access clock
Item 3
Video clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"pclk"
Item 3
Exact value (
const):"vclk"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
renesas,fcp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle referencing the FCP that handles memory accesses for the VSP.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,vsp1"When the condition matches (
then) #Properties and child nodes (
properties)
renesas,fcp— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a07g044-vsp2"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7790-sysc.h>
vsp@fe928000 {
compatible = "renesas,vsp1";
reg = <0xfe928000 0x8000>;
interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 131>;
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
resets = <&cpg 131>;
};
#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
vsp@fe920000 {
compatible = "renesas,vsp2";
reg = <0xfe920000 0x8000>;
interrupts = <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 624>;
power-domains = <&sysc R8A7795_PD_A3VP>;
resets = <&cpg 624>;
renesas,fcp = <&fcpvb1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 21: RZ/G2L
Line 22: R-Car Gen2 and RZ/G1
Line 23: R-Car Gen3 and RZ/G2
Line 26: RZ/G2UL
Line 27: RZ/V2L
Line 28: RZ/V2N
Line 29: RZ/V2H(P)
Line 30: RZ/G2L fallback
Line 103: R8A7790 (R-Car H2) VSP1-S
Line 118: R8A77951 (R-Car H3) VSP2-BC