Re: [PATCH v4 1/8] hwmon/misc: amd-sbi: Move core sbtsi support from hwmon to misc
From: Guenter Roeck
Date: Fri Jul 10 2026 - 10:27:45 EST
On 7/10/26 04:16, Akshay Gupta wrote:
From: Prathima <Prathima.Lk@xxxxxxx>
Move SBTSI(Side-Band Temperature Sensor Interface) core functionality out
of the hwmon-only path and into drivers/misc/amd-sbi so it can be reused
by non-hwmon consumers.
I2C probe parsing is moved from drivers/hwmon/sbtsi_temp.c
into drivers/misc/amd-sbi/tsi.c under CONFIG_AMD_SBTSI. The core driver
stores struct sbtsi_data on the bus device and registers an auxiliary
device amd-sbtsi.temp-sensor.<addr> per target.
The current hwmon temp sensor will now require the CONFIG_AMD_SBTSI
configuration as a new dependency.
This split prepares the driver for additional interfaces while keeping
hwmon support in hwmon subsystem on top of common SBTSI core logic.
Add platform dependencies to clarify this driver is intended to run on
the BMC and not on the managed node.
Reviewed-by: Akshay Gupta <Akshay.Gupta@xxxxxxx>
Signed-off-by: Prathima <Prathima.Lk@xxxxxxx>
Regarding Sashiko's comments, I asume there can only be one of these
in a given system.
Given that,
Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>
[ Assuming that the series will be picked up together through some
other maintainer ]
Thanks,
Guenter