]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk: mediatek: mt8512: unique driver names
authorDavid Lechner <dlechner@baylibre.com>
Tue, 7 Jul 2026 19:10:15 +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 mt8512 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-13-283d9a55361e@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
drivers/clk/mediatek/clk-mt8512.c

index 2bfd8c4b1b9a87cd385dfaa4151e72f45b4d7f2f..88c55e5ac6c481624bdd39ef4fb7270f50b0d235 100644 (file)
@@ -862,7 +862,7 @@ static const struct udevice_id mt8512_infracfg_compat[] = {
        { }
 };
 
-U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
+U_BOOT_DRIVER(mt8512_clk_apmixedsys) = {
        .name = "mt8512-apmixedsys",
        .id = UCLASS_CLK,
        .of_match = mt8512_apmixed_compat,
@@ -873,7 +873,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_topckgen) = {
+U_BOOT_DRIVER(mt8512_clk_topckgen) = {
        .name = "mt8512-topckgen",
        .id = UCLASS_CLK,
        .of_match = mt8512_topckgen_compat,
@@ -884,7 +884,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_topckgen_cg) = {
+U_BOOT_DRIVER(mt8512_clk_topckgen_cg) = {
        .name = "mt8512-topckgen-cg",
        .id = UCLASS_CLK,
        .of_match = mt8512_topckgen_cg_compat,
@@ -894,7 +894,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen_cg) = {
        .flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_infracfg) = {
+U_BOOT_DRIVER(mt8512_clk_infracfg) = {
        .name = "mt8512-infracfg",
        .id = UCLASS_CLK,
        .of_match = mt8512_infracfg_compat,