Skip to contentSkip to conversation

spi: dt-bindings: atmel,at91rm9200-spi: Add support for optional 'spi_gclk' clock

PATCH Superseded Manikandan Muralidharan 2 participants 2 messages Jul 30, 2025

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 spi: dt-bindings: atmel,at91rm9200-spi: Add support for optional 'spi_gclk' clock

Update the Atmel SPI DT binding to support an optional programmable SPI generic clock 'spi_gclk', in addition to the required 'spi_clk'.

---
 .../devicetree/bindings/spi/atmel,at91rm9200-spi.yaml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml +8 -3
index d29772994cf5..11885d0cc209 100644
@@ -31,11 +31,16 @@ properties:
     maxItems: 1
 
   clock-names:
-    contains:
-      const: spi_clk
+    items:
+      - const: spi_clk
+      - const: spi_gclk
+    minItems: 1
 
   clocks:
-    maxItems: 1
+    items:
+      - description: Peripheral Bus clock
+      - description: Programmable Generic clock
+    minItems: 1
 
   dmas:
     items:
Signature · 1 line
2.25.1
#1 lore raw
Quoted 2 lines · Manikandan Muralidharan

Update the Atmel SPI DT binding to support an optional programmable SPI generic clock 'spi_gclk', in addition to the required 'spi_clk'.

Why? Hardware changed? Explain why you are making changes to the stable ABI.

Also, I do not see any user of this, but maybe you just created Cc-list incomplete.

Best regards,
Krzysztof