The input ports are all the same, use patternProperties for them. Signed-off-by: Cosmin Tanislav <demonsingur@xxxxxxxxx> --- .../bindings/media/i2c/maxim,max96712.yaml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml index efdece2b33b9..148d196b9acc 100644 --- a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml @@ -40,22 +40,10 @@ properties: ports: $ref: /schemas/graph.yaml#/properties/ports - properties: - port@0: + patternProperties: + port@[0-3]: $ref: /schemas/graph.yaml#/properties/port - description: GMSL Input 0 - - port@1: - $ref: /schemas/graph.yaml#/properties/port - description: GMSL Input 1 - - port@2: - $ref: /schemas/graph.yaml#/properties/port - description: GMSL Input 2 - - port@3: - $ref: /schemas/graph.yaml#/properties/port - description: GMSL Input 3 + description: GMSL Input port port@4: $ref: /schemas/graph.yaml#/$defs/port-base -- 2.48.1