[PATCH v3 8/8] dt-bindings: stm32: use reference manual names for ETR and STM bus clocks
From: Gabriel Fernandez
Date: Fri Nov 06 2026 - 10:38:46 EST
The bus clocks of the STM and of the ETR are identified by CK_BUS_STM500,
CK_SCMI_STM500 and CK_SCMI_ETR. Now that their kernel clocks are
described as CK_KER_STM and CK_KER_ETR, and as the RCC bus clock of the
ETR is already CK_BUS_ETR, these names are confusing. They also differ
from the reference manual and from the STM32MP21 binding, which uses
CK_BUS_STM, CK_SCMI_BUS_ETR and CK_SCMI_BUS_STM for the same clocks.
Use CK_BUS_STM, CK_SCMI_BUS_ETR and CK_SCMI_BUS_STM, with unchanged
values, and keep the old names as deprecated aliases so that the
existing users are not affected.
No functional change.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@xxxxxxxxxxx>
---
include/dt-bindings/clock/st,stm32mp25-rcc.h | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/include/dt-bindings/clock/st,stm32mp25-rcc.h b/include/dt-bindings/clock/st,stm32mp25-rcc.h
index 166b4fa1ac2e..c05a4995e0cb 100644
--- a/include/dt-bindings/clock/st,stm32mp25-rcc.h
+++ b/include/dt-bindings/clock/st,stm32mp25-rcc.h
@@ -109,7 +109,7 @@
/* LOW SPEED MCU CLOCK */
#define CK_ICN_LS_MCU 88
-#define CK_BUS_STM500 89
+#define CK_BUS_STM 89
#define CK_BUS_FMC 90
#define CK_BUS_GPU 91
#define CK_BUS_ETH1 92
@@ -481,7 +481,7 @@
#define CK_SCMI_TIMG2 83
#define CK_SCMI_BKPSRAM 84
#define CK_SCMI_BSEC 85
-#define CK_SCMI_ETR 87
+#define CK_SCMI_BUS_ETR 87
#define CK_SCMI_FMC 88
#define CK_SCMI_GPIOA 89
#define CK_SCMI_GPIOB 90
@@ -516,7 +516,7 @@
#define CK_SCMI_SYSDBG 119
#define CK_SCMI_SYSATB 120
#define CK_SCMI_TSDBG 121
-#define CK_SCMI_STM500 122
+#define CK_SCMI_BUS_STM 122
#define CK_SCMI_KER_STM 123
#define CK_SCMI_KER_ETR 124
#define CK_SCMI_HSI_KER_ON 125
@@ -527,4 +527,9 @@
#define CK_SCMI_LPDMA_AM 130
#define CK_SCMI_RTC_AM 131
+/* Deprecated identifiers, kept for backward compatibility */
+#define CK_BUS_STM500 CK_BUS_STM
+#define CK_SCMI_ETR CK_SCMI_BUS_ETR
+#define CK_SCMI_STM500 CK_SCMI_BUS_STM
+
#endif /* _DT_BINDINGS_STM32MP25_CLKS_H_ */
--
2.43.0