]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: mediatek: mt7988: rename TOP_CK_NPU_SEL_CM_TOPS_SEL to TOP_NPU_SEL
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 3 Aug 2024 08:32:52 +0000 (10:32 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:14:09 +0000 (16:14 -0600)
Upstream kernel linux clock include use TOP_NPU_SEL instead of
TOP_CK_NPU_SEL_CM_TOPS_SEL.
Rename this clock to the upstream kernel in preparation for support of
OF_UPSTREAM.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
drivers/clk/mediatek/clk-mt7988.c
include/dt-bindings/clock/mt7988-clk.h

index e2324f40084540e0917609ccda13f2ea3f4efe88..1ce8c4d8feff0593a01b9faf24600ebe201d21e3 100644 (file)
@@ -420,7 +420,7 @@ static const struct mtk_composite topckgen_mtk_muxes[] = {
                0x110, 0x114, 0x118, 24, 2, 31, 0x1c8, 9),
        TOP_MUX(CK_TOP_ETH_MII_SEL, "eth_mii_sel", eth_mii_parents, 0x120,
                0x124, 0x128, 0, 1, 7, 0x1c8, 10),
-       TOP_MUX(CK_TOP_CK_NPU_SEL_CM_TOPS_SEL, "ck_npu_sel_cm_tops_sel",
+       TOP_MUX(CK_TOP_NPU_SEL, "ck_npu_sel",
                netsys_2x_parents, 0x120, 0x124, 0x128, 8, 2, 15, 0x1c8, 11),
 };
 
index 841dd419e7556d109bbf625be7a11ef6bcf6824e..4fd968a12cab8ffe65f3e2f664f8d2a1258d657d 100644 (file)
 #define CK_TOP_NETSYS_PPEFB_250M_SEL  135 /* Linux CLK ID (70) */
 #define CK_TOP_NETSYS_WARP_SEL       136 /* Linux CLK ID (71) */
 #define CK_TOP_ETH_MII_SEL           137 /* Linux CLK ID (72) */
-#define CK_TOP_CK_NPU_SEL_CM_TOPS_SEL 138 /* Linux CLK ID (73) */
+#define CK_TOP_NPU_SEL               138 /* Linux CLK ID (73) */
 
 /* APMIXEDSYS */
 /* mtk_pll_data */