summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2026-07-07 14:10:16 -0500
committerDavid Lechner <[email protected]>2026-07-22 12:41:03 -0500
commit3e69cd14e17a0d6f9bc9c46501c92308539fbb86 (patch)
treee944728f366d6d2244371497937d38740ed8213f
parentcc8cb613f4d0592ab3fc0ab4b92981ab74a890b3 (diff)
clk: mediatek: mt8516: unique driver names
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 <[email protected]>
-rw-r--r--arch/arm/mach-mediatek/mt8516/init.c2
-rw-r--r--drivers/clk/mediatek/clk-mt8516.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-mediatek/mt8516/init.c b/arch/arm/mach-mediatek/mt8516/init.c
index b470910da7f..d9fe8fc8505 100644
--- a/arch/arm/mach-mediatek/mt8516/init.c
+++ b/arch/arm/mach-mediatek/mt8516/init.c
@@ -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;
diff --git a/drivers/clk/mediatek/clk-mt8516.c b/drivers/clk/mediatek/clk-mt8516.c
index 3824885682b..9c510005b42 100644
--- a/drivers/clk/mediatek/clk-mt8516.c
+++ b/drivers/clk/mediatek/clk-mt8516.c
@@ -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,