[PATCH 07/15] clk: mediatek: mt7988: unique driver names
David Lechner
dlechner at baylibre.com
Tue Jul 7 21:10:09 CEST 2026
Change driver names for MediaTek mt7988 clocks to be globally unique.
This will allow better build bot testing by allowing all clocks to be
compiled at the same time.
Signed-off-by: David Lechner <dlechner at baylibre.com>
---
drivers/clk/mediatek/clk-mt7988.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/mediatek/clk-mt7988.c b/drivers/clk/mediatek/clk-mt7988.c
index f4a3d40f5af..2b2d5db90b8 100644
--- a/drivers/clk/mediatek/clk-mt7988.c
+++ b/drivers/clk/mediatek/clk-mt7988.c
@@ -871,7 +871,7 @@ static int mt7988_topckgen_probe(struct udevice *dev)
return mtk_common_clk_init(dev, &mt7988_topckgen_clk_tree);
}
-U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
+U_BOOT_DRIVER(mt7988_clk_apmixedsys) = {
.name = "mt7988-clock-fixed-pll",
.id = UCLASS_CLK,
.of_match = mt7988_fixed_pll_compat,
@@ -881,7 +881,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
.flags = DM_FLAG_PRE_RELOC,
};
-U_BOOT_DRIVER(mtk_clk_topckgen) = {
+U_BOOT_DRIVER(mt7988_clk_topckgen) = {
.name = "mt7988-clock-topckgen",
.id = UCLASS_CLK,
.of_match = mt7988_topckgen_compat,
@@ -901,7 +901,7 @@ static int mt7988_infracfg_probe(struct udevice *dev)
return mtk_common_clk_init(dev, &mt7988_infracfg_clk_tree);
}
-U_BOOT_DRIVER(mtk_clk_infracfg) = {
+U_BOOT_DRIVER(mt7988_clk_infracfg) = {
.name = "mt7988-clock-infracfg",
.id = UCLASS_CLK,
.of_match = mt7988_infracfg_compat,
@@ -956,7 +956,7 @@ static const struct udevice_id mt7988_ethdma_compat[] = {
{}
};
-U_BOOT_DRIVER(mtk_clk_ethdma) = {
+U_BOOT_DRIVER(mt7988_clk_ethdma) = {
.name = "mt7988-clock-ethdma",
.id = UCLASS_CLK,
.of_match = mt7988_ethdma_compat,
@@ -1002,7 +1002,7 @@ static const struct udevice_id mt7988_sgmiisys_0_compat[] = {
{}
};
-U_BOOT_DRIVER(mtk_clk_sgmiisys_0) = {
+U_BOOT_DRIVER(mt7988_clk_sgmiisys_0) = {
.name = "mt7988-clock-sgmiisys_0",
.id = UCLASS_CLK,
.of_match = mt7988_sgmiisys_0_compat,
@@ -1047,7 +1047,7 @@ static const struct udevice_id mt7988_sgmiisys_1_compat[] = {
{}
};
-U_BOOT_DRIVER(mtk_clk_sgmiisys_1) = {
+U_BOOT_DRIVER(mt7988_clk_sgmiisys_1) = {
.name = "mt7988-clock-sgmiisys_1",
.id = UCLASS_CLK,
.of_match = mt7988_sgmiisys_1_compat,
@@ -1107,7 +1107,7 @@ static const struct udevice_id mt7988_ethwarp_compat[] = {
{}
};
-U_BOOT_DRIVER(mtk_clk_ethwarp) = {
+U_BOOT_DRIVER(mt7988_clk_ethwarp) = {
.name = "mt7988-clock-ethwarp",
.id = UCLASS_CLK,
.of_match = mt7988_ethwarp_compat,
--
2.43.0
More information about the U-Boot
mailing list