STMicroelectronics STM32 CSI controller

Schema identifier ($id): "http://devicetree.org/schemas/media/st,stm32mp25-csi.yaml#"

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

The STM32 CSI controller, coupled with a D-PHY allows connecting a CSI-2 based camera to the DCMIPP camera pipeline.

Maintainers (maintainers): "Alain Volmat <alain.volmat@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,stm32mp25-csi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "txesc"

Item 3

Exact value (const): "csi2phy"

resets — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

Digital core power supply (0.91V)

vdda18-supply — not listed as required here #

System analog power supply (1.8V)

access-controllers — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port@0 — not listed as 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.

Input port node

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)

data-lanes — required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Required in this object (required): "data-lanes"

port@1 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output port node

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/media/video-interfaces.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>
csi@48020000 {
    compatible = "st,stm32mp25-csi";
    reg = <0x48020000 0x2000>;
    interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
    resets = <&rcc CSI_R>;
    clocks = <&rcc CK_KER_CSI>, <&rcc CK_KER_CSITXESC>, <&rcc CK_KER_CSIPHY>;
    clock-names = "pclk", "txesc", "csi2phy";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&imx335_ep>;
                data-lanes = <1 2>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&dcmipp_0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page