dt-bindings: clock: rockchip: remove CLK_NR_CLKS and CLKPMU_NR_CLKS
authorJohan Jonker <jbx6244@gmail.com>
Mon, 26 Aug 2024 16:39:46 +0000 (18:39 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 28 Aug 2024 19:25:50 +0000 (21:25 +0200)
CLK_NR_CLKS and CLKPMU_NR_CLKS should not be part of the binding.
Remove since the kernel code no longer uses it.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/a3292ed0-3489-4887-8567-40ea4983c592@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
include/dt-bindings/clock/px30-cru.h
include/dt-bindings/clock/rk3036-cru.h
include/dt-bindings/clock/rk3228-cru.h
include/dt-bindings/clock/rk3288-cru.h
include/dt-bindings/clock/rk3308-cru.h
include/dt-bindings/clock/rk3328-cru.h
include/dt-bindings/clock/rk3368-cru.h
include/dt-bindings/clock/rk3399-cru.h

index 5b1416f..a2abf19 100644 (file)
 #define PCLK_CIF               352
 #define PCLK_OTP_PHY           353
 
-#define CLK_NR_CLKS            (PCLK_OTP_PHY + 1)
-
 /* pmu-clocks indices */
 
 #define PLL_GPLL               1
 #define PCLK_GPIO0_PMU         20
 #define PCLK_UART0_PMU         21
 
-#define CLKPMU_NR_CLKS         (PCLK_UART0_PMU + 1)
-
 /* soft-reset indices */
 #define SRST_CORE0_PO          0
 #define SRST_CORE1_PO          1
index a96a987..99cc617 100644 (file)
@@ -94,8 +94,6 @@
 #define HCLK_CPU               477
 #define HCLK_PERI              478
 
-#define CLK_NR_CLKS            (HCLK_PERI + 1)
-
 /* soft-reset indices */
 #define SRST_CORE0             0
 #define SRST_CORE1             1
index de550ea..138b6ce 100644 (file)
 #define HCLK_S_CRYPTO          477
 #define HCLK_PERI              478
 
-#define CLK_NR_CLKS            (HCLK_PERI + 1)
-
 /* soft-reset indices */
 #define SRST_CORE0_PO          0
 #define SRST_CORE1_PO          1
index 33819ac..c6034b0 100644 (file)
 #define HCLK_CPU               477
 #define HCLK_PERI              478
 
-#define CLK_NR_CLKS            (HCLK_PERI + 1)
-
 /* soft-reset indices */
 #define SRST_CORE0             0
 #define SRST_CORE1             1
index d97840f..ce4cd72 100644 (file)
 #define PCLK_CAN               233
 #define PCLK_OWIRE             234
 
-#define CLK_NR_CLKS            (PCLK_OWIRE + 1)
-
 /* soft-reset indices */
 
 /* cru_softrst_con0 */
index 555b4ff..8885a2e 100644 (file)
 #define HCLK_RGA               340
 #define HCLK_HDCP              341
 
-#define CLK_NR_CLKS            (HCLK_HDCP + 1)
-
 /* soft-reset indices */
 #define SRST_CORE0_PO          0
 #define SRST_CORE1_PO          1
index 83c72a1..ebae3cb 100644 (file)
 #define HCLK_BUS               477
 #define HCLK_PERI              478
 
-#define CLK_NR_CLKS            (HCLK_PERI + 1)
-
 /* soft-reset indices */
 #define SRST_CORE_B0           0
 #define SRST_CORE_B1           1
index 39169d9..4c90c77 100644 (file)
 #define HCLK_SDIO_NOC                  495
 #define HCLK_SDIOAUDIO_NOC             496
 
-#define CLK_NR_CLKS                    (HCLK_SDIOAUDIO_NOC + 1)
-
 /* pmu-clocks indices */
 
 #define PLL_PPLL                       1
 #define PCLK_INTR_ARB_PMU              49
 #define HCLK_NOC_PMU                   50
 
-#define CLKPMU_NR_CLKS                 (HCLK_NOC_PMU + 1)
-
 /* soft-reset indices */
 
 /* cru_softrst_con0 */