[PATCH 2/3] media: dt-bindings: nxp,imx8-isi: Allow single port for single pipeline models
Alexander Stein
alexander.stein at ew.tq-group.com
Fri Feb 23 06:04:44 PST 2024
In case the hardware only supports just one pipeline, allow using a
single port node as well.
Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
---
.../devicetree/bindings/media/nxp,imx8-isi.yaml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml b/Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml
index 4d5348d456a1f..f855f3cc91fea 100644
--- a/Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml
+++ b/Documentation/devicetree/bindings/media/nxp,imx8-isi.yaml
@@ -53,6 +53,12 @@ properties:
power-domains:
maxItems: 1
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: |
+ Port representing the Pixel Link input to the ISI. Used for
+ single-pipeline models. The port shall have a single endpoint.
+
ports:
$ref: /schemas/graph.yaml#/properties/ports
description: |
@@ -66,7 +72,6 @@ required:
- clocks
- clock-names
- fsl,blk-ctrl
- - ports
allOf:
- if:
@@ -87,6 +92,11 @@ allOf:
port at 1: false
required:
- port at 0
+ oneOf:
+ - required:
+ - port
+ - required:
+ - ports
- if:
properties:
@@ -106,6 +116,8 @@ allOf:
required:
- port at 0
- port at 1
+ required:
+ - ports
additionalProperties: false
--
2.34.1
More information about the linux-arm-kernel
mailing list