* [PATCH v2] clk: sunxi-ng: a523: export the main CCU OF module alias
@ 2026-12-03 3:41 Pengpeng Hou
0 siblings, 0 replies; only message in thread
From: Pengpeng Hou @ 2026-12-03 3:41 UTC (permalink / raw)
To: Stephen Boyd
Cc: Pengpeng Hou, Brian Masney, Jerome Brunet, Jernej Skrabec,
Samuel Holland, linux-clk, linux-arm-kernel, linux-sunxi,
linux-kernel, Andre Przywara, Chen-Yu Tsai
The main A523 CCU driver can be built as a module. Its OF match table
works once the module is loaded but is not exported for module
autoloading. Export it to provide the matching OF alias.
Fixes: 7cae1e2b5544 ("clk: sunxi-ng: Add support for the A523/T527 CCU PLLs")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
Changes since v1:
Use the author's full name.
Previous version: https://lore.kernel.org/r/20260905133452.64544-1-hppiscas@163.com
Codex assisted with patch preparation and the changelog.
Current review: Codex (Assisted-by: gpt 5).
Static review only; this revision was not built.
drivers/clk/sunxi-ng/ccu-sun55i-a523.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/sunxi-ng/ccu-sun55i-a523.c b/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
index 0714090cc3b08af800fed56f45c5f009a638a7ba..a812add654118f78c9c393cfdee247e9210cb7b1 100644
--- a/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
+++ b/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
@@ -1671,6 +1671,7 @@ static const struct of_device_id sun55i_a523_ccu_ids[] = {
{ .compatible = "allwinner,sun55i-a523-ccu" },
{ }
};
+MODULE_DEVICE_TABLE(of, sun55i_a523_ccu_ids);
static struct platform_driver sun55i_a523_ccu_driver = {
.probe = sun55i_a523_ccu_probe,
base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-03 3:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 3:41 [PATCH v2] clk: sunxi-ng: a523: export the main CCU OF module alias Pengpeng Hou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox