Skip to contentSkip to conversation

clk: sunxi-ng: a523: export the MCU CCU OF module alias

PATCH Applied Pengpeng Hou 2 participants 2 messages Dec 3

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 clk: sunxi-ng: a523: export the MCU CCU OF module alias

The A523 MCU CCU driver uses sun55i_a523_mcu_ccu_ids for OF matching. Export that table so an OF modalias can load the module for the MCU clock controller.

Fixes 598e4b6713b5 ("clk: sunxi-ng: add support for the A523/T527 MCU CCU")

---
Changes since v1:
Use the author's full name.
Previous version: https://lore.kernel.org/r/[email protected]

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-mcu.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/sunxi-ng/ccu-sun55i-a523-mcu.c +1 -0
index 197844f0fe4eea3ed7e25333655a0c99072b35b3..f5f0f87cc3fe25d535063d2e9464867c9426c4d1 100644
@@ -453,6 +453,7 @@ static const struct of_device_id sun55i_a523_mcu_ccu_ids[] = {
 	{ .compatible = "allwinner,sun55i-a523-mcu-ccu" },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, sun55i_a523_mcu_ccu_ids);
 
 static struct platform_driver sun55i_a523_mcu_ccu_driver = {
 	.probe	= sun55i_a523_mcu_ccu_probe,

base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790

maintainer Applied
#1 lore raw
Quoted 5 lines · Pengpeng Hou

The A523 MCU CCU driver uses sun55i_a523_mcu_ccu_ids for OF matching. Export that table so an OF modalias can load the module for the MCU clock controller.

Applied to sunxi/clk-for-7.5 in sunxi, thanks!

[1/1] clk: sunxi-ng: a523: export the MCU CCU OF module alias

      https://git.kernel.org/sunxi/linux/c/0e3103bd95f2

Best regards,

Signature · 1 line
Chen-Yu Tsai <[email protected]>