[PATCH v5 0/8] Add thermal sensor driver support for Mediatek MT8196
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Jan 19 04:06:57 PST 2026
Il 25/11/25 17:16, Laura Nao ha scritto:
> This patch series extends the MediaTek LVTS thermal driver to support the
> MT8196 SoC.
>
This series has been there on the lists for *5 months* now, and it still
applies as-is.
Can we *please* get this picked?
Thanks,
Angelo
> MT8196 requires a different implementation of the lvts_temp_to_raw()
> function.
>
> To support this, the series introduces:
>
> - A new struct lvts_platform_ops to allow platform-specific
> conversion logic between raw sensor values and temperature
> - A variant of the lvts_temp_to_raw() implementation
> - Platform data and controller definitions for MT8196
>
> Link to v4: https://lore.kernel.org/r/20251121-mt8196-lvts-v4-v4-0-357f955a3176@collabora.com
>
> Changes in v5:
> - Dropped patch 3
> - Added LVTS_NUM_CAL_OFFSETS_MT7988/LVTS_NUM_CAL_OFFSETS_MT8196 defines
> - Moved code that assembles calibration bytes from the efuse data into
> a dedicated lvts_decode_sensor_calibration() helper
> - Fixed prefix in patch 4 commit message
> - Dropped R-b/T-b tags on patch 2
>
> ---
> Laura Nao (8):
> dt-bindings: thermal: mediatek: Add LVTS thermal controller support for MT8196
> thermal/drivers/mediatek/lvts: Make number of calibration offsets configurable
> thermal/drivers/mediatek/lvts: Add platform ops to support alternative conversion logic
> thermal/drivers/mediatek/lvts: Add lvts_temp_to_raw variant
> thermal/drivers/mediatek/lvts: Add support for ATP mode
> thermal/drivers/mediatek/lvts: Support MSR offset for 16-bit calibration data
> thermal/drivers/mediatek/lvts_thermal: Add MT8196 support
> dt-bindings: nvmem: mediatek: efuse: Add support for MT8196
>
> .../devicetree/bindings/nvmem/mediatek,efuse.yaml | 1 +
> .../bindings/thermal/mediatek,lvts-thermal.yaml | 2 +
> drivers/thermal/mediatek/lvts_thermal.c | 326 +++++++++++++++++++--
> .../dt-bindings/thermal/mediatek,lvts-thermal.h | 26 ++
> 4 files changed, 333 insertions(+), 22 deletions(-)
> ---
> base-commit: abadc219d77ce0e61fcac0147cc6cc69164af43e
> change-id: 20251121-mt8196-lvts-v4-a61fb5c27216
>
> Best regards,
More information about the linux-arm-kernel
mailing list