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

index 5f40b782f4d2a331578587c15dfdddb9d09fc0d5..56e18d403c824a519e1ba10de7786eb4c6d37265 100644 (file)
@@ -595,7 +595,7 @@ static int mt7986_topckgen_probe(struct udevice *dev)
        return mtk_common_clk_init(dev, &mt7986_topckgen_clk_tree);
 }
 
-U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
+U_BOOT_DRIVER(mt7986_clk_apmixedsys) = {
        .name = "mt7986-clock-fixed-pll",
        .id = UCLASS_CLK,
        .of_match = mt7986_fixed_pll_compat,
@@ -606,7 +606,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .flags = DM_FLAG_PRE_RELOC,
 };
 
-U_BOOT_DRIVER(mtk_clk_topckgen) = {
+U_BOOT_DRIVER(mt7986_clk_topckgen) = {
        .name = "mt7986-clock-topckgen",
        .id = UCLASS_CLK,
        .of_match = mt7986_topckgen_compat,
@@ -627,7 +627,7 @@ static int mt7986_infracfg_probe(struct udevice *dev)
        return mtk_common_clk_init(dev, &mt7986_infracfg_clk_tree);
 }
 
-U_BOOT_DRIVER(mtk_clk_infracfg) = {
+U_BOOT_DRIVER(mt7986_clk_infracfg) = {
        .name = "mt7986-clock-infracfg",
        .id = UCLASS_CLK,
        .of_match = mt7986_infracfg_compat,
@@ -682,7 +682,7 @@ static const struct udevice_id mt7986_ethsys_compat[] = {
        { }
 };
 
-U_BOOT_DRIVER(mtk_clk_ethsys) = {
+U_BOOT_DRIVER(mt7986_clk_ethsys) = {
        .name = "mt7986-clock-ethsys",
        .id = UCLASS_CLK,
        .of_match = mt7986_ethsys_compat,