MIPI CSI-2 Receiver core in the i.MX SoC
Schema identifier ($id): "http://devicetree.org/schemas/media/fsl,imx6-mipi-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This is the device node for the MIPI CSI-2 Receiver core in the i.MX SoC. This is a Synopsys Designware MIPI CSI-2 host controller core combined with a D-PHY core mixed into the same register block. In addition this device consists of an i.MX-specific "CSI2IPU gasket" glue logic, also controlled from the same register block. The CSI2IPU gasket demultiplexes the four virtual channel streams from the host controller's 32-bit output image bus onto four 16-bit parallel busses to the i.MX IPU CSIs.
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "fsl,imx6-mipi-csi2"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
hsi_tx (the D-PHY clock)
Item 2
video_27m (D-PHY PLL reference clock)
Item 3
eim_podf;
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dphy"
Item 2
Exact value (
const):"ref"
Item 3
Exact value (
const):"pix"
interrupts — not listed as required here #
Array item rules (items) #
Item 1
CSI-2 ERR1 irq
Item 2
CSI-2 ERR2 irq
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
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, 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 — not listed as required here
Exact value (const): 0
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
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "data-lanes"
Properties matching a name pattern (patternProperties) #
^port@[1-4]$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
ports 1 through 4 are output ports connecting with parallel bus sink endpoint nodes and correspond to the four MIPI CSI-2 virtual channel outputs.
Properties and child nodes (properties) #
endpoint@0 — 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.
endpoint@1 — 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.
Required in this object (required): "compatible", "reg", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6qdl-clock.h>
mipi@21dc000 {
compatible = "fsl,imx6-mipi-csi2";
reg = <0x021dc000 0x4000>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clks IMX6QDL_CLK_HSI_TX>,
<&clks IMX6QDL_CLK_VIDEO_27M>,
<&clks IMX6QDL_CLK_EIM_PODF>;
clock-names = "dphy", "ref", "pix";
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&ov5640_to_mipi_csi2>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
endpoint@0 {
reg = <0>;
remote-endpoint = <&ipu1_csi0_mux_from_mipi_vc0>;
};
endpoint@1 {
reg = <1>;
remote-endpoint = <&ipu1_csi1_mux_from_mipi_vc0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)