Re: [PATCH v5 2/3] platform: arm64: lenovo-thinkpad-t14s-ec: Add hwmon support for temperatures

From: Dmitry Baryshkov

Date: Mon Jul 06 2026 - 15:31:31 EST


On Mon, Jul 06, 2026 at 08:46:47PM +0200, Daniel Lezcano wrote:
> Expose the Lenovo ThinkPad T14s EC environmental sensors through
> the hwmon subsystem.
>
> The driver now registers a hwmon device providing access to six EC
> temperature sensors corresponding to the SoC, keyboard area, base
> cover, PMIC/charging circuitry, QTM module and SSD. Sensor labels
> are exported to allow user space to identify each measurement.
>
> This allows standard monitoring tools such as lm-sensors to report
> platform temperatures.
>
> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> Tested-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx> # on T14s OLED
> Signed-off-by: Daniel Lezcano daniel.lezcano@xxxxxxxxxxxxxxxx
> ---
> drivers/platform/arm64/Kconfig | 1 +
> drivers/platform/arm64/lenovo-thinkpad-t14s.c | 131 ++++++++++++++++++
> 2 files changed, 132 insertions(+)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>


--
With best wishes
Dmitry