]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk: mediatek: mt8516: unique driver names
authorDavid Lechner <dlechner@baylibre.com>
Tue, 7 Jul 2026 19:10:16 +0000 (14:10 -0500)
committerDavid Lechner <dlechner@baylibre.com>
Wed, 22 Jul 2026 17:41:03 +0000 (12:41 -0500)
Change driver names for MediaTek mt8516 clocks to be globally unique.
This will allow better build bot testing by allowing all clocks to be
compiled at the same time.

Link: https://patch.msgid.link/20260707-mtk-clk-unique-driver-names-v1-14-283d9a55361e@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
arch/arm/mach-mediatek/mt8516/init.c
drivers/clk/mediatek/clk-mt8516.c

index b470910da7ff91df8492390ea334d6949c5f1f78..d9fe8fc85057c4b3b06f81b6c8bbbee8060d2fdb 100644 (file)
@@ -44,7 +44,7 @@ static int mtk_pll_early_init(void)
        int ret, i;
 
        ret = uclass_get_device_by_driver(UCLASS_CLK,
-                       DM_DRIVER_GET(mtk_clk_apmixedsys), &dev);
+                       DM_DRIVER_GET(mt8516_clk_apmixedsys), &dev);
        if (ret)
                return ret;
 
index 3824885682beef2dd287f93341e530ffb7307426..9c510005b423b7c3b6d17a0d64fbcb431251a462 100644 (file)
@@ -803,7 +803,7 @@ static const struct udevice_id mt8516_topckgen_cg_compat[] = {
        { }
 };
 
-U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
+U_BOOT_DRIVER(mt8516_clk_apmixedsys) = {
        .name = "mt8516-apmixedsys",
        .id = UCLASS_CLK,
        .of_match = mt8516_apmixed_compat,
@@ -814,7 +814,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_topckgen) = {
+U_BOOT_DRIVER(mt8516_clk_topckgen) = {
        .name = "mt8516-topckgen",
        .id = UCLASS_CLK,
        .of_match = mt8516_topckgen_compat,
@@ -825,7 +825,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_topckgen_cg) = {
+U_BOOT_DRIVER(mt8516_clk_topckgen_cg) = {
        .name = "mt8516-topckgen-cg",
        .id = UCLASS_CLK,
        .of_match = mt8516_topckgen_cg_compat,