i.MX8 Image Sensing Interface
Schema identifier ($id): "http://devicetree.org/schemas/media/nxp,imx8-isi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The Image Sensing Interface (ISI) combines image processing pipelines with DMA engines to process and capture frames originating from a variety of sources. The inputs to the ISI go through Pixel Link interfaces, and their number and nature is SoC-dependent. They cover both capture interfaces (MIPI CSI-2 RX, HDMI RX, ...) and display engine outputs for writeback support.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8mn-isi", "fsl,imx8mp-isi", "fsl,imx8ulp-isi", "fsl,imx91-isi", "fsl,imx93-isi"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
The AXI clock
Item 2
The APB clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"apb"
fsl,blk-ctrl — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle referencing the block control that contains the CSIS to ISI gasket.
interrupts — required here #
Processing pipeline interrupts, one per pipeline
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
Ports represent the Pixel Link inputs to the ISI. Their number and assignment are model-dependent. Each port shall have a single endpoint.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "ports"
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)Allowed values (
enum):"fsl,imx8mn-isi","fsl,imx8ulp-isi","fsl,imx91-isi","fsl,imx93-isi"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
ports— not listed as required hereProperties and child nodes (
properties)
port@0— required hereMIPI CSI-2 RX
port@1— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx8mp-isi"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):2
ports— not listed as required hereProperties and child nodes (
properties)
port@0— required hereMIPI CSI-2 RX 0
port@1— required hereMIPI CSI-2 RX 1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)Exact value (
const):"fsl,imx91-isi"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mn-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/imx8mn-power.h>
isi@32e20000 {
compatible = "fsl,imx8mn-isi";
reg = <0x32e20000 0x100>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
<&clk IMX8MN_CLK_DISP_APB_ROOT>;
clock-names = "axi", "apb";
fsl,blk-ctrl = <&disp_blk_ctrl>;
power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_ISI>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
isi_in: endpoint {
remote-endpoint = <&mipi_csi_out>;
};
};
};
};
#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
isi@32e00000 {
compatible = "fsl,imx8mp-isi";
reg = <0x32e00000 0x4000>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,
<&clk IMX8MP_CLK_MEDIA_APB_ROOT>;
clock-names = "axi", "apb";
fsl,blk-ctrl = <&media_blk_ctrl>;
power-domains = <&mediamix_pd>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
isi_in_0: endpoint {
remote-endpoint = <&mipi_csi_0_out>;
};
};
port@1 {
reg = <1>;
isi_in_1: endpoint {
remote-endpoint = <&mipi_csi_1_out>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 35: TODO: Check if the per-channel ipg_proc_clk clocks need to be specified
Line 36: as well, in case some SoCs have the ability to control them separately.
Line 37: This may be the case of the i.MX8[DQ]X(P)