* [PATCH] hwmon: (cgbc-hwmon) Add module alias
@ 2026-11-23 7:27 ` Markus Haberlander
0 siblings, 0 replies; 4+ messages in thread
From: Markus Haberlander via B4 Relay @ 2026-11-23 7:27 UTC (permalink / raw)
To: Thomas Richard, Guenter Roeck; +Cc: linux-hwmon, stable, Markus Haberlander
From: Markus Haberlander <markus.haberlander@rosenberger.com>
The board controller's core driver adds the hwmon cell as platform
device "cgbc-hwmon", but the driver declares no matching module alias.
Built as a module, it is therefore not loaded automatically, unlike the
GPIO, I2C and backlight drivers, and the sensors stay missing until it
is loaded by hand.
Tested on a conga-PA7: with the alias, the driver loads at boot.
The patch and this changelog were drafted with the help of Claude
Opus 5.5 and reviewed and tested by me.
Fixes: 08ebc9def79f ("hwmon: Add Congatec Board Controller monitoring driver")
Cc: stable@vger.kernel.org
Signed-off-by: Markus Haberlander <markus.haberlander@rosenberger.com>
---
drivers/hwmon/cgbc-hwmon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/cgbc-hwmon.c b/drivers/hwmon/cgbc-hwmon.c
index ba21ed8f0..d1f20db4b 100644
--- a/drivers/hwmon/cgbc-hwmon.c
+++ b/drivers/hwmon/cgbc-hwmon.c
@@ -336,3 +336,4 @@ module_platform_driver(cgbc_hwmon_driver);
MODULE_AUTHOR("Thomas Richard <thomas.richard@bootlin.com>");
MODULE_DESCRIPTION("Congatec Board Controller Hardware Monitoring Driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:cgbc-hwmon");
---
base-commit: 7940d60c4b165cd7c265bf17f86b8299b7f204b1
change-id: 20261123-cgbc-hwmon-alias-6fed8be4cb52
Best regards,
--
Markus Haberlander <markus.haberlander@rosenberger.com>
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH] hwmon: (cgbc-hwmon) Add module alias
@ 2026-11-23 7:27 ` Markus Haberlander
0 siblings, 0 replies; 4+ messages in thread
From: Markus Haberlander @ 2026-11-23 7:27 UTC (permalink / raw)
To: Thomas Richard, Guenter Roeck; +Cc: linux-hwmon, stable, Markus Haberlander
The board controller's core driver adds the hwmon cell as platform
device "cgbc-hwmon", but the driver declares no matching module alias.
Built as a module, it is therefore not loaded automatically, unlike the
GPIO, I2C and backlight drivers, and the sensors stay missing until it
is loaded by hand.
Tested on a conga-PA7: with the alias, the driver loads at boot.
The patch and this changelog were drafted with the help of Claude
Opus 5.5 and reviewed and tested by me.
Fixes: 08ebc9def79f ("hwmon: Add Congatec Board Controller monitoring driver")
Cc: stable@vger.kernel.org
Signed-off-by: Markus Haberlander <markus.haberlander@rosenberger.com>
---
drivers/hwmon/cgbc-hwmon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/cgbc-hwmon.c b/drivers/hwmon/cgbc-hwmon.c
index ba21ed8f0..d1f20db4b 100644
--- a/drivers/hwmon/cgbc-hwmon.c
+++ b/drivers/hwmon/cgbc-hwmon.c
@@ -336,3 +336,4 @@ module_platform_driver(cgbc_hwmon_driver);
MODULE_AUTHOR("Thomas Richard <thomas.richard@bootlin.com>");
MODULE_DESCRIPTION("Congatec Board Controller Hardware Monitoring Driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:cgbc-hwmon");
---
base-commit: 7940d60c4b165cd7c265bf17f86b8299b7f204b1
change-id: 20261123-cgbc-hwmon-alias-6fed8be4cb52
Best regards,
--
Markus Haberlander <markus.haberlander@rosenberger.com>
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] hwmon: (cgbc-hwmon) Add module alias
2026-11-23 7:27 ` Markus Haberlander
(?)
@ 2026-11-23 7:29 ` sashiko-bot
-1 siblings, 0 replies; 4+ messages in thread
From: sashiko-bot @ 2026-11-23 7:29 UTC (permalink / raw)
To: Markus Haberlander; +Cc: linux-hwmon
> From: Markus Haberlander <markus.haberlander@rosenberger.com>
>
> The board controller's core driver adds the hwmon cell as platform
> device "cgbc-hwmon", but the driver declares no matching module alias.
> Built as a module, it is therefore not loaded automatically, unlike the
> GPIO, I2C and backlight drivers, and the sensors stay missing until it
> is loaded by hand.
>
> Tested on a conga-PA7: with the alias, the driver loads at boot.
>
> The patch and this changelog were drafted with the help of Claude
> Opus 5.5 and reviewed and tested by me.
>
> Fixes: 08ebc9def79f ("hwmon: Add Congatec Board Controller monitoring driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Markus Haberlander <markus.haberlander@rosenberger.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-cgbc-hwmon-alias-v1-1-3054681f984a@rosenberger.com?part=1
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] hwmon: (cgbc-hwmon) Add module alias
2026-11-23 7:27 ` Markus Haberlander
(?)
(?)
@ 2026-11-23 20:09 ` Guenter Roeck
-1 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2026-11-23 20:09 UTC (permalink / raw)
To: Markus Haberlander; +Cc: Thomas Richard, linux-hwmon, stable
On Mon, Nov 23, 2026 at 08:27:01AM +0100, Markus Haberlander wrote:
> From: Markus Haberlander <markus.haberlander@rosenberger.com>
>
> The board controller's core driver adds the hwmon cell as platform
> device "cgbc-hwmon", but the driver declares no matching module alias.
> Built as a module, it is therefore not loaded automatically, unlike the
> GPIO, I2C and backlight drivers, and the sensors stay missing until it
> is loaded by hand.
>
> Tested on a conga-PA7: with the alias, the driver loads at boot.
>
> The patch and this changelog were drafted with the help of Claude
> Opus 5.5 and reviewed and tested by me.
>
> Fixes: 08ebc9def79f ("hwmon: Add Congatec Board Controller monitoring driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Markus Haberlander <markus.haberlander@rosenberger.com>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-23 20:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 7:27 [PATCH] hwmon: (cgbc-hwmon) Add module alias Markus Haberlander via B4 Relay
2026-11-23 7:27 ` Markus Haberlander
2026-11-23 7:29 ` sashiko-bot
2026-11-23 20:09 ` 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.