@@ -52,11 +52,21 @@ properties:
power-domains:
maxItems: 1
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: |
+ The port represents the Pixel Link input to the ISI. It shall have a
+ single endpoint. This property is only used for ISI instances with a
+ single port (as in the i.MX8MN). For instances that includes multiple
+ ports, the 'ports' property shall be used instead.
+
ports:
$ref: /schemas/graph.yaml#/properties/ports
description: |
Ports represent the Pixel Link inputs to the ISI. Their number and
- assignment are model-dependent. Each port shall have a single endpoint.
+ assignment are model-dependent. For ISI instances that have a single
+ port, the 'port' property should be used instead. Each port shall have a
+ single endpoint.
required:
- compatible
@@ -65,7 +75,6 @@ required:
- clocks
- clock-names
- fsl,blk-ctrl
- - ports
allOf:
- if:
@@ -77,12 +86,11 @@ allOf:
properties:
interrupts:
maxItems: 1
- ports:
- properties:
- port@0:
- description: MIPI CSI-2 RX
- required:
- - port@0
+ port:
+ description: MIPI CSI-2 RX
+ ports: false
+ required:
+ - port
- if:
properties:
@@ -93,6 +101,7 @@ allOf:
properties:
interrupts:
maxItems: 2
+ port: false
ports:
properties:
port@0:
@@ -102,6 +111,8 @@ allOf:
required:
- port@0
- port@1
+ required:
+ - ports
additionalProperties: false
@@ -122,15 +133,9 @@ examples:
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>;
- };
+ port {
+ isi_in: endpoint {
+ remote-endpoint = <&mipi_csi_out>;
};
};
};
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- .../bindings/media/nxp,imx8-isi.yaml | 39 +++++++++++-------- 1 file changed, 22 insertions(+), 17 deletions(-)