diff mbox series

spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible

Message ID 20230624082054.37697-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit e884a133340a470070b2c59833c9ff87aa6517ba
Headers show
Series spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible | expand

Commit Message

Krzysztof Kozlowski June 24, 2023, 8:20 a.m. UTC
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>
---
 .../devicetree/bindings/spi/atmel,at91rm9200-spi.yaml          | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
index bdc42eeacba4..58367587bfbc 100644
--- a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
@@ -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: