History

dt-bindings: clock: stm32mp15: rename CK_SCMI define

As we only have one SCMI instance, it's not necessary to add an index to the name.

Alexandre Torgue committed 4 years ago

Commit 9b0df591 parent 35de4b41 file · +21 −25Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/dt-bindings/clock/stm32mp1-clks.h+21−25
@@ -249,30 +249,26 @@ · 248 unmodified lines
249249 #define STM32MP1_LAST_CLK 232
250250
251251 /* SCMI clock identifiers */
252−#define CK_SCMI0_HSE 0
253−#define CK_SCMI0_HSI 1
254−#define CK_SCMI0_CSI 2
255−#define CK_SCMI0_LSE 3
256−#define CK_SCMI0_LSI 4
257−#define CK_SCMI0_PLL2_Q 5
258−#define CK_SCMI0_PLL2_R 6
259−#define CK_SCMI0_MPU 7
260−#define CK_SCMI0_AXI 8
261−#define CK_SCMI0_BSEC 9
262−#define CK_SCMI0_CRYP1 10
263−#define CK_SCMI0_GPIOZ 11
264−#define CK_SCMI0_HASH1 12
265−#define CK_SCMI0_I2C4 13
266−#define CK_SCMI0_I2C6 14
267−#define CK_SCMI0_IWDG1 15
268−#define CK_SCMI0_RNG1 16
269−#define CK_SCMI0_RTC 17
270−#define CK_SCMI0_RTCAPB 18
271−#define CK_SCMI0_SPI6 19
272−#define CK_SCMI0_USART1 20
273−
274−#define CK_SCMI1_PLL3_Q 0
275−#define CK_SCMI1_PLL3_R 1
276−#define CK_SCMI1_MCU 2
252+#define CK_SCMI_HSE 0
253+#define CK_SCMI_HSI 1
254+#define CK_SCMI_CSI 2
255+#define CK_SCMI_LSE 3
256+#define CK_SCMI_LSI 4
257+#define CK_SCMI_PLL2_Q 5
258+#define CK_SCMI_PLL2_R 6
259+#define CK_SCMI_MPU 7
260+#define CK_SCMI_AXI 8
261+#define CK_SCMI_BSEC 9
262+#define CK_SCMI_CRYP1 10
263+#define CK_SCMI_GPIOZ 11
264+#define CK_SCMI_HASH1 12
265+#define CK_SCMI_I2C4 13
266+#define CK_SCMI_I2C6 14
267+#define CK_SCMI_IWDG1 15
268+#define CK_SCMI_RNG1 16
269+#define CK_SCMI_RTC 17
270+#define CK_SCMI_RTCAPB 18
271+#define CK_SCMI_SPI6 19
272+#define CK_SCMI_USART1 20
277273
278274 #endif /* _DT_BINDINGS_STM32MP1_CLKS_H_ */