Renesas R-Car ISP Channel Selector

Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,isp.yaml#"

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

Maintainers (maintainers): "Niklas Söderlund <niklas.soderlund@ragnatech.se>"

The R-Car ISP Channel Selector provides MIPI CSI-2 VC and DT filtering capabilities for the Renesas R-Car family of devices. It is used in conjunction with the R-Car VIN and CSI-2 modules, which provides the video capture capabilities.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r8a779a0-isp", "renesas,r8a779g0-isp", "renesas,r8a779h0-isp"

Item 2

Exact value (const): "renesas,rcar-gen4-isp"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reg-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "cs"

Item 2

Exact value (const): "core"

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupt-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "cs"

Item 2

Exact value (const): "core"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "cs"

Item 2

Exact value (const): "core"

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reset-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "cs"

Item 2

Exact value (const): "core"

renesas,vspx — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

A phandle to the companion VSPX responsible for the Streaming Bridge functionality. The Streaming Bridge is responsible for feeding image and configuration data to the ISP when operating in memory-to-memory mode.

ports — required here #

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

Properties and child nodes (properties) #

port@0 — required here

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

Input port node, multiple endpoints describing the connected R-Car CSI-2 receivers.

port@1 — required here

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

Single endpoint describing the R-Car VIN connected to output port 0.

port@2 — required here

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

Single endpoint describing the R-Car VIN connected to output port 1.

port@3 — required here

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

Single endpoint describing the R-Car VIN connected to output port 2.

port@4 — required here

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

Single endpoint describing the R-Car VIN connected to output port 3.

port@5 — required here

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

Single endpoint describing the R-Car VIN connected to output port 4.

port@6 — required here

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

Single endpoint describing the R-Car VIN connected to output port 5.

port@7 — required here

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

Single endpoint describing the R-Car VIN connected to output port 6.

port@8 — required here

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

Single endpoint describing the R-Car VIN connected to output port 7.

Required in this object (required): "port@0", "port@1", "port@2", "port@3", "port@4", "port@5", "port@6", "port@7", "port@8"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a779a0-sysc.h>

isp1: isp@fed20000 {
        compatible = "renesas,r8a779a0-isp", "renesas,rcar-gen4-isp";
        reg = <0xfed20000 0x10000>, <0xfee00000 0x100000>;
        reg-names = "cs", "core";
        interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "cs", "core";
        clocks = <&cpg CPG_MOD 613>, <&cpg CPG_MOD 17>;
        clock-names = "cs", "core";
        power-domains = <&sysc R8A779A0_PD_A3ISP01>;
        resets = <&cpg 613>, <&cpg 17>;
        reset-names = "cs", "core";

        renesas,vspx = <&vspx1>;

        ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                        #address-cells = <1>;
                        #size-cells = <0>;

                        reg = <0>;
                        isp1csi41: endpoint@1 {
                                reg = <1>;
                                remote-endpoint = <&csi41isp1>;
                        };
                };

                port@1 {
                        reg = <1>;
                        isp1vin08: endpoint {
                                remote-endpoint = <&vin08isp1>;
                        };
                };

                port@2 {
                        reg = <2>;
                        isp1vin09: endpoint {
                                remote-endpoint = <&vin09isp1>;
                        };
                };

                port@3 {
                        reg = <3>;
                        isp1vin10: endpoint {
                                remote-endpoint = <&vin10isp1>;
                        };
                };

                port@4 {
                        reg = <4>;
                        isp1vin11: endpoint {
                                remote-endpoint = <&vin11isp1>;
                        };
                };

                port@5 {
                        reg = <5>;
                        isp1vin12: endpoint {
                                remote-endpoint = <&vin12isp1>;
                        };
                };

                port@6 {
                        reg = <6>;
                        isp1vin13: endpoint {
                                remote-endpoint = <&vin13isp1>;
                        };
                };

                port@7 {
                        reg = <7>;
                        isp1vin14: endpoint {
                                remote-endpoint = <&vin14isp1>;
                        };
                };

                port@8 {
                        reg = <8>;
                        isp1vin15: endpoint {
                                remote-endpoint = <&vin15isp1>;
                        };
                };
        };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2021 Renesas Electronics Corp.

Line 23: V3U

Line 24: V4H

Line 25: V4M

Line 26: Generic R-Car Gen4

Edit this page