COOLING4d

[PATCH] clk: mediatek: mt6735-imgsys: Publish the OF module alias

From: hpp.iscas <hidden>
Date: 2026-09-05 13:33:28
Also in: linux-clk, linux-mediatek, lkml
Subsystem: common clk framework, mediatek mt6735 clock & reset drivers, the rest · Maintainers: Stephen Boyd, Brian Masney, Jerome Brunet, Yassine Oudjana, Linus Torvalds

The MT6735 imgsys driver is a separately selectable tristate driver.
Its OF table is registered with the platform bus, but is not published
for module autoloading. Loading the main MT6735 clock driver does not
load the separate imgsys module.

Publish the existing OF match table.

Fixes: 0bd9b1211f74 ("clk: mediatek: Add drivers for MT6735 syscon clock and reset controllers")
Signed-off-by: hpp.iscas <redacted>
---
 drivers/clk/mediatek/clk-mt6735-imgsys.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/clk/mediatek/clk-mt6735-imgsys.c b/drivers/clk/mediatek/clk-mt6735-imgsys.c
index c564f8f..813241d 100644
--- a/drivers/clk/mediatek/clk-mt6735-imgsys.c
+++ b/drivers/clk/mediatek/clk-mt6735-imgsys.c
@@ -41,6 +41,7 @@ static const struct of_device_id of_match_mt6735_imgsys[] = {
 	{ .compatible = "mediatek,mt6735-imgsys", .data = &imgsys_clks },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, of_match_mt6735_imgsys);
 
 static struct platform_driver clk_mt6735_imgsys = {
 	.probe = mtk_clk_simple_probe,

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help