[PATCH] clk: sunxi-ng: a523: Publish the main CCU module alias

hpp.iscas posted 1 patch 2 weeks, 6 days ago
drivers/clk/sunxi-ng/ccu-sun55i-a523.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] clk: sunxi-ng: a523: Publish the main CCU module alias
Posted by hpp.iscas 2 weeks, 6 days ago
The A523 main CCU driver supports module builds and registers an OF
match table. The table is not exported, leaving the module without an
alias for its OF device.

Publish the main CCU table without changing clock initialization.

Fixes: 7cae1e2b5544 ("clk: sunxi-ng: Add support for the A523/T527 CCU PLLs")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
 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 20dad06..d0c4c70 100644
--- a/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
+++ b/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
@@ -1685,6 +1685,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,
Re: [PATCH] clk: sunxi-ng: a523: Publish the main CCU module alias
Posted by Chen-Yu Tsai 1 week, 5 days ago
On Sat, Sep 5, 2026 at 9:35 PM hpp.iscas <hppiscas@163.com> wrote:
>
> The A523 main CCU driver supports module builds and registers an OF
> match table. The table is not exported, leaving the module without an
> alias for its OF device.
>
> Publish the main CCU table without changing clock initialization.
>
> Fixes: 7cae1e2b5544 ("clk: sunxi-ng: Add support for the A523/T527 CCU PLLs")
> Signed-off-by: hpp.iscas <hppiscas@163.com>

This and the patch author needs to be your actual name. Same for your other
patch.

See Documentation/process/submitting-patches.rst

> ---
>  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 20dad06..d0c4c70 100644
> --- a/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
> +++ b/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
> @@ -1685,6 +1685,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,
>