]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: mediatek: mt7988: rename TOP_DA_SELM_XTAL_SEL to TOP_DA_SEL
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 3 Aug 2024 08:32:51 +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_DA_SEL instead of
TOP_DA_SELM_XTAL_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 e7ef58c4fb9ababb7f2883b5fcbcb379559b1a31..e2324f40084540e0917609ccda13f2ea3f4efe88 100644 (file)
@@ -396,7 +396,7 @@ static const struct mtk_composite topckgen_mtk_muxes[] = {
                da_xtp_glb_p0_parents, 0xf0, 0xf4, 0xf8, 8, 1, 15, 0x1c4, 30),
        TOP_MUX(CK_TOP_CKM_SEL, "ckm_sel", sspxtp_parents, 0xf0, 0xf4, 0xf8, 16,
                1, 23, 0x1c8, 0),
-       TOP_MUX(CK_TOP_DA_SELM_XTAL_SEL, "da_selm_xtal_sel", sspxtp_parents,
+       TOP_MUX(CK_TOP_DA_SEL, "da_sel", sspxtp_parents,
                0xf0, 0xf4, 0xf8, 24, 1, 31, 0x1c8, 1),
        TOP_MUX(CK_TOP_PEXTP_SEL, "pextp_sel", sspxtp_parents, 0x100, 0x104,
                0x108, 0, 1, 7, 0x1c8, 2),
index 88a5cf45ccbcfadb05c6b5ba45107df58a284078..841dd419e7556d109bbf625be7a11ef6bcf6824e 100644 (file)
 #define CK_TOP_DA_XTP_GLB_P2_SEL      125 /* Linux CLK ID (60) */
 #define CK_TOP_DA_XTP_GLB_P3_SEL      126 /* Linux CLK ID (61) */
 #define CK_TOP_CKM_SEL               127 /* Linux CLK ID (62) */
-#define CK_TOP_DA_SELM_XTAL_SEL              128 /* Linux CLK ID (63) */
+#define CK_TOP_DA_SEL                128 /* Linux CLK ID (63) */
 #define CK_TOP_PEXTP_SEL             129 /* Linux CLK ID (64) */
 #define CK_TOP_TOPS_P2_26M_SEL       130 /* Linux CLK ID (65) */
 #define CK_TOP_MCUSYS_BACKUP_625M_SEL 131 /* Linux CLK ID (66) */