# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/fsl,imx95-csi-formatter.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: i.MX95 CSI Pixel Formatter
maintainers:
- Guoniu Zhou <guoniu.zhou@nxp.com>
description:
The CSI pixel formatting module found on i.MX95 uses packet info, pixel
and non-pixel data from the CSI-2 host controller and reformat them to
match Pixel Link(PL) definition.
properties:
compatible:
const: fsl,imx95-csi-formatter
reg:
maxItems: 1
description: Register offset and size within the parent syscon
clocks:
maxItems: 1
power-domains:
maxItems: 1
ports:
$ref: /schemas/graph.yaml#/properties/ports
properties:
port@0:
$ref: /schemas/graph.yaml#/properties/port
description:
Input port, connects to MIPI CSI-2 receiver output (IDI interface)
port@1:
$ref: /schemas/graph.yaml#/properties/port
description:
Output port, connects to ISI input via Pixel Link (PL)
required:
- port@0
- port@1
required:
- compatible
- reg
- clocks
- power-domains
- ports
additionalProperties: false
examples:
- |
#include <dt-bindings/clock/nxp,imx95-clock.h>
formatter@20 {
compatible = "fsl,imx95-csi-formatter";
reg = <0x20 0x100>;
clocks = <&cameramix_csr IMX95_CLK_CAMBLK_CSI2_FOR0>;
power-domains = <&scmi_devpd 3>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&mipi_csi_0_out>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&isi_in_2>;
};
};
};
};