Chips&Media Coda multi-standard codec IP
Schema identifier ($id): "http://devicetree.org/schemas/media/coda.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>"
Coda codec IPs are present in i.MX SoCs in various versions, called VPU (Video Processing Unit).
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx27-vpu"Item 2
Exact value (
const):"cnm,codadx6"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx51-vpu"Item 2
Exact value (
const):"cnm,codahx4"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx53-vpu"Item 2
Exact value (
const):"cnm,coda7541"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"cnm,coda960"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PER clock
Item 2
AHB interface clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"per"
Item 2
Exact value (
const):"ahb"
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
BIT processor interrupt
Item 2
JPEG unit interrupt
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"bit"
Item 2
Exact value (
const):"jpeg"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
iram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle pointing to the SRAM device node
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
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):"cnm,coda960"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):2
interrupt-names— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
power-domains— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
vpu: video-codec@63ff4000 {
compatible = "fsl,imx53-vpu", "cnm,coda7541";
reg = <0x63ff4000 0x1000>;
interrupts = <9>;
clocks = <&clks 63>, <&clks 63>;
clock-names = "per", "ahb";
iram = <&ocram>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)