[RFC PATCH 17/24] dt-bindings: media: i2c: max96712: increase number of output ports

Cosmin Tanislav posted 24 patches 6 months ago
There is a newer version of this series
[RFC PATCH 17/24] dt-bindings: media: i2c: max96712: increase number of output ports
Posted by Cosmin Tanislav 6 months ago
The MAX96712 and MAX96724 support up to 4 separate PHYs, depending on
the selected PHY configuration.

Document this possibility by increasing the number of output ports.

Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
---
 .../bindings/media/i2c/maxim,max96712.yaml        | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
index 148d196b9acc..52b5603c2f53 100644
--- a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
@@ -45,10 +45,10 @@ properties:
         $ref: /schemas/graph.yaml#/properties/port
         description: GMSL Input port
 
-      port@4:
+      port@[4-7]:
         $ref: /schemas/graph.yaml#/$defs/port-base
         unevaluatedProperties: false
-        description: CSI-2 Output
+        description: CSI-2 Output port
 
         properties:
           endpoint:
@@ -66,8 +66,15 @@ properties:
               - data-lanes
               - bus-type
 
-    required:
-      - port@4
+    anyOf:
+      - required:
+          - port@4
+      - required:
+          - port@5
+      - required:
+          - port@6
+      - required:
+          - port@7
 
 required:
   - compatible
-- 
2.48.1