STMicroelectronics STM32 DCMIPP Digital Camera Memory Interface Pixel Processor
Schema identifier ($id): "http://devicetree.org/schemas/media/st,stm32-dcmipp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hugues Fruchet <hugues.fruchet@foss.st.com>", "Alain Volmat <alain.volmat@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,stm32mp13-dcmipp", "st,stm32mp25-dcmipp"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
bus clock
Item 2
csi clock
Minimum number of items (minItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"kclk"
Item 2
Exact value (
const):"mclk"
Minimum number of items (minItems): 1
resets — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
DCMIPP supports a single port node with parallel bus.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — not listed as required here
Allowed values (enum): 4, 5, 6
Default value (default): 5
bus-width — not listed as required here
Allowed values (enum): 8, 10, 12, 14
Default value (default): 8
pclk-sample — not listed as required here
true — No constraints added by this property rule.
hsync-active — not listed as required here
true — No constraints added by this property rule.
vsync-active — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets", "port"
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)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
port— not listed as required hereProperties and child nodes (
properties)
endpoint— not listed as required hereProperties and child nodes (
properties)
bus-type— not listed as required hereWhen the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— not listed as required hereMinimum number of items (
minItems):2
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/stm32mp13-clks.h>
#include <dt-bindings/reset/stm32mp13-resets.h>
dcmipp@5a000000 {
compatible = "st,stm32mp13-dcmipp";
reg = <0x5a000000 0x400>;
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rcc DCMIPP_R>;
clocks = <&rcc DCMIPP_K>;
port {
endpoint {
remote-endpoint = <&mipid02_2>;
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)