]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: serial: samsung: fix maxItems for gs101
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 25 Jul 2024 07:05:59 +0000 (08:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2024 10:34:30 +0000 (12:34 +0200)
While gs101 needs exactly two clocks for the UART, the schema doesn't
currently limit the maximum number to this and instead the default of
five from this schema is applied.

Update the schema accordingly.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20240725-gs101-uart-binding-v5-2-e237be8253a9@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/samsung_uart.yaml

index 0075712e7be80f53fec07931b21585877e0faad1..788c80e47831cb1db6a54b1c875387278b77064a 100644 (file)
@@ -166,6 +166,12 @@ allOf:
       properties:
         reg-io-width: false
 
+        clocks:
+          maxItems: 2
+
+        clock-names:
+          maxItems: 2
+
 unevaluatedProperties: false
 
 examples: