Re: [PATCH v2 4/9] hwmon: adm1275: Support module auto-loading
From: Guenter Roeck
Date: Mon Jun 29 2026 - 16:49:15 EST
On Fri, Jun 26, 2026 at 10:24:21AM +0300, Matti Vaittinen wrote:
> From: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
>
> Populating the i2c_device_id -table is not enough to make the
> driver module automatically load when device-tree node for the
> power-monitor is parsed at boot.
>
> Adding the of_device_id tables causes the driver module to be
> automatically load at boot. Testing has been done with rather old Debian
> system.
>
> When inspecting the generated module-aliases with the insmod, following
> entries seem to be the difference:
>
> alias: of:N*T*Cadi,adm1075C*
> alias: of:N*T*Cadi,adm1075
>
> I suspect these are required for the module loading to work.
>
> Signed-off-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
Applied.
Thanks,
Guenter