* [PATCH] clk: mediatek: mt7988-apmixed: Publish the OF module alias
@ 2026-09-05 13:34 hpp.iscas
2026-09-05 20:44 ` Daniel Golle
0 siblings, 1 reply; 2+ messages in thread
From: hpp.iscas @ 2026-09-05 13:34 UTC (permalink / raw)
To: Stephen Boyd
Cc: hpp.iscas, Brian Masney, Jerome Brunet, Matthias Brugger,
AngeloGioacchino Del Regno, linux-clk, linux-kernel,
linux-arm-kernel, linux-mediatek, Sam Shih, Daniel Golle
COMMON_CLK_MT7988 is tristate and builds apmixed as a separate object.
The apmixed platform driver has an OF match table but exports no OF
alias, so that table cannot be used to select the module on a device
event.
Publish the table. Keep the existing initialization entry point.
Fixes: 4b4719437d85 ("clk: mediatek: add drivers for MT7988 SoC")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
drivers/clk/mediatek/clk-mt7988-apmixed.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/mediatek/clk-mt7988-apmixed.c b/drivers/clk/mediatek/clk-mt7988-apmixed.c
index 416a4b8..24f4e7b 100644
--- a/drivers/clk/mediatek/clk-mt7988-apmixed.c
+++ b/drivers/clk/mediatek/clk-mt7988-apmixed.c
@@ -75,6 +75,7 @@ static const struct of_device_id of_match_clk_mt7988_apmixed[] = {
{ .compatible = "mediatek,mt7988-apmixedsys" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, of_match_clk_mt7988_apmixed);
static int clk_mt7988_apmixed_probe(struct platform_device *pdev)
{
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] clk: mediatek: mt7988-apmixed: Publish the OF module alias
2026-09-05 13:34 [PATCH] clk: mediatek: mt7988-apmixed: Publish the OF module alias hpp.iscas
@ 2026-09-05 20:44 ` Daniel Golle
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Golle @ 2026-09-05 20:44 UTC (permalink / raw)
To: hpp.iscas
Cc: Stephen Boyd, Brian Masney, Jerome Brunet, Matthias Brugger,
AngeloGioacchino Del Regno, linux-clk, linux-kernel,
linux-arm-kernel, linux-mediatek, Sam Shih
On Sat, Sep 05, 2026 at 09:34:17PM +0800, hpp.iscas wrote:
> COMMON_CLK_MT7988 is tristate and builds apmixed as a separate object.
> The apmixed platform driver has an OF match table but exports no OF
> alias, so that table cannot be used to select the module on a device
> event.
>
> Publish the table. Keep the existing initialization entry point.
>
> Fixes: 4b4719437d85 ("clk: mediatek: add drivers for MT7988 SoC")
> Signed-off-by: hpp.iscas <hppiscas@163.com>
Not sure if this Signed-off-by:-line is ok like that, do I understand
correctly that 163.com is a freemail provider?
Other than that
Reviewed-by: Daniel Golle <daniel@makrotopia.org>
> ---
> drivers/clk/mediatek/clk-mt7988-apmixed.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/mediatek/clk-mt7988-apmixed.c b/drivers/clk/mediatek/clk-mt7988-apmixed.c
> index 416a4b8..24f4e7b 100644
> --- a/drivers/clk/mediatek/clk-mt7988-apmixed.c
> +++ b/drivers/clk/mediatek/clk-mt7988-apmixed.c
> @@ -75,6 +75,7 @@ static const struct of_device_id of_match_clk_mt7988_apmixed[] = {
> { .compatible = "mediatek,mt7988-apmixedsys" },
> { /* sentinel */ }
> };
> +MODULE_DEVICE_TABLE(of, of_match_clk_mt7988_apmixed);
>
> static int clk_mt7988_apmixed_probe(struct platform_device *pdev)
> {
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-05 20:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 13:34 [PATCH] clk: mediatek: mt7988-apmixed: Publish the OF module alias hpp.iscas
2026-09-05 20:44 ` Daniel Golle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox