Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: realtek: rtd1619b: Publish the OF module alias
@ 2026-09-05 13:44 hpp.iscas
  2026-09-07  6:13 ` Yu-Chun Lin [林祐君]
  0 siblings, 1 reply; 2+ messages in thread
From: hpp.iscas @ 2026-09-05 13:44 UTC (permalink / raw)
  To: James Tai
  Cc: hpp.iscas, Yu-Chun Lin, Andreas Färber, Linus Walleij,
	linux-arm-kernel, linux-realtek-soc, linux-gpio, linux-kernel,
	Tzuyi Chang

The RTD1619B pinctrl driver is a separate tristate object using
rtd1619b_pinctrl_of_match. The generic Realtek pinctrl support does not
publish an alias for this SoC module.

Export the existing OF table while retaining the initialization order.

Fixes: c7910f6aca56 ("pinctrl: realtek: Add pinctrl driver for RTD1619B")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
 drivers/pinctrl/realtek/pinctrl-rtd1619b.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/realtek/pinctrl-rtd1619b.c b/drivers/pinctrl/realtek/pinctrl-rtd1619b.c
index b07e50d..e03e1fb 100644
--- a/drivers/pinctrl/realtek/pinctrl-rtd1619b.c
+++ b/drivers/pinctrl/realtek/pinctrl-rtd1619b.c
@@ -1575,6 +1575,7 @@ static const struct of_device_id rtd1619b_pinctrl_of_match[] = {
 	{ .compatible = "realtek,rtd1619b-pinctrl", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, rtd1619b_pinctrl_of_match);
 
 static struct platform_driver rtd1619b_pinctrl_driver = {
 	.driver = {



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] pinctrl: realtek: rtd1619b: Publish the OF module alias
  2026-09-05 13:44 [PATCH] pinctrl: realtek: rtd1619b: Publish the OF module alias hpp.iscas
@ 2026-09-07  6:13 ` Yu-Chun Lin [林祐君]
  0 siblings, 0 replies; 2+ messages in thread
From: Yu-Chun Lin [林祐君] @ 2026-09-07  6:13 UTC (permalink / raw)
  To: hpp.iscas, James Tai [戴志峰]
  Cc: Andreas Färber, Linus Walleij,
	linux-arm-kernel@lists.infradead.org,
	linux-realtek-soc@lists.infradead.org, linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org, TY_Chang[張子逸]

Hi,

> The RTD1619B pinctrl driver is a separate tristate object using
> 
> rtd1619b_pinctrl_of_match. The generic Realtek pinctrl support does not
> 
> publish an alias for this SoC module.
> 
> 
> 
> Export the existing OF table while retaining the initialization order.
> 
> 
> 
> Fixes: c7910f6aca56 ("pinctrl: realtek: Add pinctrl driver for RTD1619B")
> 
> Signed-off-by: hpp.iscas <hppiscas@163.com>
> 

Please use your real name.

> ---
> 
>  drivers/pinctrl/realtek/pinctrl-rtd1619b.c | 1 +
> 
>  1 file changed, 1 insertion(+)
> 
> 
> 
> diff --git a/drivers/pinctrl/realtek/pinctrl-rtd1619b.c
> b/drivers/pinctrl/realtek/pinctrl-rtd1619b.c
> 
> index b07e50d..e03e1fb 100644
> 
> --- a/drivers/pinctrl/realtek/pinctrl-rtd1619b.c
> 
> +++ b/drivers/pinctrl/realtek/pinctrl-rtd1619b.c
> 
> @@ -1575,6 +1575,7 @@ static const struct of_device_id
> rtd1619b_pinctrl_of_match[] = {
> 
>         { .compatible = "realtek,rtd1619b-pinctrl", },
> 
>         {},
> 
>  };
> 
> +MODULE_DEVICE_TABLE(of, rtd1619b_pinctrl_of_match);
> 
> 
> 
>  static struct platform_driver rtd1619b_pinctrl_driver = {
> 
>         .driver = {
> 

The code looks good to me, but 'git am' failed to apply the mbox. 
I noticed =0D in your patch, which might be the reason it failed.

Best Regards,
Yu-Chun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-07  6:14 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:44 [PATCH] pinctrl: realtek: rtd1619b: Publish the OF module alias hpp.iscas
2026-09-07  6:13 ` Yu-Chun Lin [林祐君]

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox