]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thermal/drivers/mediatek/lvts: Make number of calibration offsets configurable
authorLaura Nao <laura.nao@collabora.com>
Tue, 25 Nov 2025 16:16:52 +0000 (17:16 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 20 Jan 2026 19:41:49 +0000 (20:41 +0100)
commit6931d597c5ef8eae583df0cb2e4af8fbbf2b9e6e
treea53caf09586cedf3f495d3db00b9389938b32f63
parent03656dc61deb014fb536b728da8750bff45eedb2
thermal/drivers/mediatek/lvts: Make number of calibration offsets configurable

MT8196/MT6991 use 2-byte eFuse calibration data, whereas other SoCs
supported by the driver rely on 3 bytes. Make the number of calibration
bytes per sensor configurable, enabling support for SoCs with varying
calibration formats.

Signed-off-by: Laura Nao <laura.nao@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251125-mt8196-lvts-v4-v5-2-6db7eb903fb7@collabora.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/mediatek/lvts_thermal.c