Re: [PATCH net-next 4/4] hwmon: add AMD Pensando ionic sensor driver
From: Guenter Roeck
Date: Tue Nov 03 2026 - 15:50:51 EST
On 11/3/26 10:14, Nikhil P. Rao wrote:
From: Arun Kumar Prakash <ArunKumar.Prakash@xxxxxxx>
Add an auxiliary driver that binds to the "ionic.hwmon" device created
by the ionic Ethernet driver and reports the adapter's temperature,
voltage and power sensors through hwmon.
The sensor set depends on the board and firmware, so the driver reads
it from the device at probe rather than hard-coding it. A sensor type
with a channel the driver does not recognise is skipped as a whole,
since hwmon channel numbers must match the firmware's.
The hwmon device is parented to the adapter's PCI function rather than
to the auxiliary device, so lm-sensors names it by PCI address instead
of as a virtual device.
Signed-off-by: Arun Kumar Prakash <ArunKumar.Prakash@xxxxxxx>
Signed-off-by: Eric Joyner <eric.joyner@xxxxxxx>
Reviewed-by: Brett Creeley <brett.creeley@xxxxxxx>
Co-developed-by: Nikhil P. Rao <nikhil.rao@xxxxxxx>
Signed-off-by: Nikhil P. Rao <nikhil.rao@xxxxxxx>
Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Thanks,
Guenter