* [PATCH] hwmon: (xdp710) Publish the OF module alias
@ 2026-09-05 13:38 hpp.iscas
2026-09-05 13:42 ` sashiko-bot
2026-09-05 14:12 ` Guenter Roeck
0 siblings, 2 replies; 3+ messages in thread
From: hpp.iscas @ 2026-09-05 13:38 UTC (permalink / raw)
To: Guenter Roeck; +Cc: hpp.iscas, linux-hwmon, linux-kernel, Peter Yin
The XDP710 driver registers xdp710_of_match, but only exports its I2C
ID table. Device Tree clients emit an OF modalias instead of the
legacy I2C alias.
Publish the existing OF table to make module selection available for
that enumeration path.
Fixes: 35fe06d94e39 ("hwmon: (pmbus) Add support for Infineon XDP710")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
drivers/hwmon/pmbus/xdp710.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/pmbus/xdp710.c b/drivers/hwmon/pmbus/xdp710.c
index 494dbe4..bd062d1 100644
--- a/drivers/hwmon/pmbus/xdp710.c
+++ b/drivers/hwmon/pmbus/xdp710.c
@@ -108,6 +108,7 @@ static const struct of_device_id xdp710_of_match[] = {
{ .compatible = "infineon,xdp710" },
{}
};
+MODULE_DEVICE_TABLE(of, xdp710_of_match);
static const struct i2c_device_id xdp710_id[] = {
{ .name = "xdp710" },
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] hwmon: (xdp710) Publish the OF module alias
2026-09-05 13:38 [PATCH] hwmon: (xdp710) Publish the OF module alias hpp.iscas
@ 2026-09-05 13:42 ` sashiko-bot
2026-09-05 14:12 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-09-05 13:42 UTC (permalink / raw)
To: hpp.iscas; +Cc: linux-hwmon
> The XDP710 driver registers xdp710_of_match, but only exports its I2C
> ID table. Device Tree clients emit an OF modalias instead of the
> legacy I2C alias.
>
> Publish the existing OF table to make module selection available for
> that enumeration path.
>
> Fixes: 35fe06d94e39 ("hwmon: (pmbus) Add support for Infineon XDP710")
> Signed-off-by: hpp.iscas <hppiscas@163.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260905133800.65749-1-hppiscas@163.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] hwmon: (xdp710) Publish the OF module alias
2026-09-05 13:38 [PATCH] hwmon: (xdp710) Publish the OF module alias hpp.iscas
2026-09-05 13:42 ` sashiko-bot
@ 2026-09-05 14:12 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2026-09-05 14:12 UTC (permalink / raw)
To: hpp.iscas; +Cc: linux-hwmon, linux-kernel, Peter Yin
On 9/5/26 06:38, hpp.iscas wrote:
> The XDP710 driver registers xdp710_of_match, but only exports its I2C
> ID table. Device Tree clients emit an OF modalias instead of the
> legacy I2C alias.
>
> Publish the existing OF table to make module selection available for
> that enumeration path.
>
> Fixes: 35fe06d94e39 ("hwmon: (pmbus) Add support for Infineon XDP710")
> Signed-off-by: hpp.iscas <hppiscas@163.com>
.... add a line saying::
Signed-off-by: Random J Developer <random@developer.example.org>
using a known identity (sorry, no anonymous contributions.)
Sorry, I can not accept your patches. hpp.iscas is not a known identity.
Guenter
> ---
> drivers/hwmon/pmbus/xdp710.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hwmon/pmbus/xdp710.c b/drivers/hwmon/pmbus/xdp710.c
> index 494dbe4..bd062d1 100644
> --- a/drivers/hwmon/pmbus/xdp710.c
> +++ b/drivers/hwmon/pmbus/xdp710.c
> @@ -108,6 +108,7 @@ static const struct of_device_id xdp710_of_match[] = {
> { .compatible = "infineon,xdp710" },
> {}
> };
> +MODULE_DEVICE_TABLE(of, xdp710_of_match);
>
> static const struct i2c_device_id xdp710_id[] = {
> { .name = "xdp710" },
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-05 14:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 13:38 [PATCH] hwmon: (xdp710) Publish the OF module alias hpp.iscas
2026-09-05 13:42 ` sashiko-bot
2026-09-05 14:12 ` Guenter Roeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.