[PATCH 2/3] dt-bindings: clock: stm32mp13: add SPI1 to SPI5 bus clocks

Gabriel Fernandez gabriel.fernandez at foss.st.com
Tue Oct 20 01:31:08 PDT 2026


The STM32MP13 RCC binding only provides the kernel clocks of the SPI
and I2S instances (SPIx_K). Their bus interface clocks are missing,
whereas the I2S binding requires one as its "pclk" clock.

Add the IDs of the SPI1 to SPI5 bus clocks, as already done for the
SPI instances of the STM32MP15.

Drop STM32MP1_LAST_CLK: it is not part of the binding ABI, it would have
to change each time an ID is added, and the driver no longer uses it as
it defines the number of clocks by itself.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez at foss.st.com>
---
 include/dt-bindings/clock/stm32mp13-clks.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/dt-bindings/clock/stm32mp13-clks.h b/include/dt-bindings/clock/stm32mp13-clks.h
index 0bd7b54c65ff..750a46ddad9e 100644
--- a/include/dt-bindings/clock/stm32mp13-clks.h
+++ b/include/dt-bindings/clock/stm32mp13-clks.h
@@ -193,7 +193,11 @@
 #define SAI1		160
 #define SAI2		161
 
-#define STM32MP1_LAST_CLK 162
+#define SPI1		162
+#define SPI2		163
+#define SPI3		164
+#define SPI4		165
+#define SPI5		166
 
 /* SCMI clock identifiers */
 #define CK_SCMI_HSE		0

-- 
2.43.0




More information about the linux-arm-kernel mailing list