OSDN Git Service

spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 24 Jun 2023 08:20:54 +0000 (10:20 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 24 Jun 2023 11:25:34 +0000 (12:25 +0100)
Commit a3eb95484f27 ("spi: dt-bindings: atmel,at91rm9200-spi: add sam9x7
compatible") adding sam9x7 compatible did not make any sense as it added
new compatible into middle of existing compatible list.  The intention
was probably to add new set of compatibles with sam9x7 as first one.

Fixes: a3eb95484f27 ("spi: dt-bindings: atmel,at91rm9200-spi: add sam9x7 compatible")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/Message-Id:
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml

index bdc42ee..5836758 100644 (file)
@@ -19,7 +19,10 @@ properties:
       - const: atmel,at91rm9200-spi
       - items:
           - const: microchip,sam9x60-spi
+          - const: atmel,at91rm9200-spi
+      - items:
           - const: microchip,sam9x7-spi
+          - const: microchip,sam9x60-spi
           - const: atmel,at91rm9200-spi
 
   reg: