]> git.ipfire.org Git - people/ms/linux.git/commitdiff
dt-bindings: clock: stm32mp15: rename CK_SCMI define
authorAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 22 Apr 2022 15:09:47 +0000 (17:09 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 4 May 2022 09:00:53 +0000 (11:00 +0200)
As we only have one SCMI instance, it's not necessary to add an index to
the name.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Acked-by: Rob Herring <robh@kernel.org>
include/dt-bindings/clock/stm32mp1-clks.h

index e02770b98e6c4ca16639a1aa7dbbfd4ff4fb1c0b..25e8cfd4345940e7726f749c65e28c6a300399c3 100644 (file)
 #define STM32MP1_LAST_CLK 232
 
 /* SCMI clock identifiers */
-#define CK_SCMI0_HSE           0
-#define CK_SCMI0_HSI           1
-#define CK_SCMI0_CSI           2
-#define CK_SCMI0_LSE           3
-#define CK_SCMI0_LSI           4
-#define CK_SCMI0_PLL2_Q                5
-#define CK_SCMI0_PLL2_R                6
-#define CK_SCMI0_MPU           7
-#define CK_SCMI0_AXI           8
-#define CK_SCMI0_BSEC          9
-#define CK_SCMI0_CRYP1         10
-#define CK_SCMI0_GPIOZ         11
-#define CK_SCMI0_HASH1         12
-#define CK_SCMI0_I2C4          13
-#define CK_SCMI0_I2C6          14
-#define CK_SCMI0_IWDG1         15
-#define CK_SCMI0_RNG1          16
-#define CK_SCMI0_RTC           17
-#define CK_SCMI0_RTCAPB                18
-#define CK_SCMI0_SPI6          19
-#define CK_SCMI0_USART1                20
-
-#define CK_SCMI1_PLL3_Q                0
-#define CK_SCMI1_PLL3_R                1
-#define CK_SCMI1_MCU           2
+#define CK_SCMI_HSE            0
+#define CK_SCMI_HSI            1
+#define CK_SCMI_CSI            2
+#define CK_SCMI_LSE            3
+#define CK_SCMI_LSI            4
+#define CK_SCMI_PLL2_Q         5
+#define CK_SCMI_PLL2_R         6
+#define CK_SCMI_MPU            7
+#define CK_SCMI_AXI            8
+#define CK_SCMI_BSEC           9
+#define CK_SCMI_CRYP1          10
+#define CK_SCMI_GPIOZ          11
+#define CK_SCMI_HASH1          12
+#define CK_SCMI_I2C4           13
+#define CK_SCMI_I2C6           14
+#define CK_SCMI_IWDG1          15
+#define CK_SCMI_RNG1           16
+#define CK_SCMI_RTC            17
+#define CK_SCMI_RTCAPB         18
+#define CK_SCMI_SPI6           19
+#define CK_SCMI_USART1         20
 
 #endif /* _DT_BINDINGS_STM32MP1_CLKS_H_ */