Renesas R-Car MIPI CSI-2 receiver
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Niklas Söderlund <niklas.soderlund@ragnatech.se>"
The R-Car CSI-2 receiver device provides MIPI CSI-2 capabilities for the Renesas R-Car and RZ/G2 family of devices. It is used in conjunction with the R-Car VIN module, which provides the video capture capabilities.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a774a1-csi2","renesas,r8a774b1-csi2","renesas,r8a774c0-csi2","renesas,r8a774e1-csi2","renesas,r8a7795-csi2","renesas,r8a7796-csi2","renesas,r8a77961-csi2","renesas,r8a77965-csi2","renesas,r8a77970-csi2","renesas,r8a77980-csi2","renesas,r8a77990-csi2","renesas,r8a779a0-csi2","renesas,r8a779g0-csi2","renesas,r8a779h0-csi2"
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): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — 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 — 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, single endpoint describing the CSI-2 transmitter.
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)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items)
Maximum value (
maximum):4
Required in this object (required): "clock-lanes", "data-lanes"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port node, multiple endpoints describing all the R-Car VIN modules connected the CSI-2 receiver.
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "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/r8a7796-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7796-sysc.h>
csi20: csi2@fea80000 {
compatible = "renesas,r8a7796-csi2";
reg = <0xfea80000 0x10000>;
interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 714>;
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
resets = <&cpg 714>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csi20_in: endpoint {
clock-lanes = <0>;
data-lanes = <1>;
remote-endpoint = <&adv7482_txb>;
};
};
port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
csi20vin0: endpoint@0 {
reg = <0>;
remote-endpoint = <&vin0csi20>;
};
csi20vin1: endpoint@1 {
reg = <1>;
remote-endpoint = <&vin1csi20>;
};
csi20vin2: endpoint@2 {
reg = <2>;
remote-endpoint = <&vin2csi20>;
};
csi20vin3: endpoint@3 {
reg = <3>;
remote-endpoint = <&vin3csi20>;
};
csi20vin4: endpoint@4 {
reg = <4>;
remote-endpoint = <&vin4csi20>;
};
csi20vin5: endpoint@5 {
reg = <5>;
remote-endpoint = <&vin5csi20>;
};
csi20vin6: endpoint@6 {
reg = <6>;
remote-endpoint = <&vin6csi20>;
};
csi20vin7: endpoint@7 {
reg = <7>;
remote-endpoint = <&vin7csi20>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 2: Copyright (C) 2020 Renesas Electronics Corp.
Line 22: RZ/G2M
Line 23: RZ/G2N
Line 24: RZ/G2E
Line 25: RZ/G2H
Line 26: R-Car H3
Line 27: R-Car M3-W
Line 28: R-Car M3-W+
Line 29: R-Car M3-N
Line 30: R-Car V3M
Line 31: R-Car V3H
Line 32: R-Car E3
Line 33: R-Car V3U
Line 34: R-Car V4H
Line 35: R-Car V4M