mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: spi: at91: Add sama7d65 compatible string
@ 2024-07-11 16:54 nicolas.ferre
  2024-07-11 22:57 ` Rob Herring (Arm)
  2024-07-12 13:31 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: nicolas.ferre @ 2024-07-11 16:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Conor Dooley, Mark Brown, Rob Herring, devicetree
  Cc: Tudor Ambarus, Claudiu Beznea, Alexandre Belloni, linux-kernel,
	linux-arm-kernel, linux-spi, Nicolas Ferre

From: Nicolas Ferre <nicolas.ferre@microchip.com>

Add compatible string for sama7d65. Like sam9x60 and sam9x7, it requires
to bind to "atmel,at91rm9200-spi".
Group these three under the same enum, sorted alphanumerically, and
remove previously added item.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 .../devicetree/bindings/spi/atmel,at91rm9200-spi.yaml     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
index 32e7c14033c2..d29772994cf5 100644
--- a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
@@ -18,10 +18,10 @@ properties:
     oneOf:
       - const: atmel,at91rm9200-spi
       - items:
-          - const: microchip,sam9x60-spi
-          - const: atmel,at91rm9200-spi
-      - items:
-          - const: microchip,sam9x7-spi
+          - enum:
+              - microchip,sam9x60-spi
+              - microchip,sam9x7-spi
+              - microchip,sama7d65-spi
           - const: atmel,at91rm9200-spi
 
   reg:
-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-12 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-11 16:54 [PATCH] dt-bindings: spi: at91: Add sama7d65 compatible string nicolas.ferre
2024-07-11 22:57 ` Rob Herring (Arm)
2024-07-12 13:31 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®