[PATCH v2 6/9] thermal/drivers/mediatek/lvts: Add support for ATP mode
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Fri Aug 1 00:28:34 PDT 2025
Il 30/07/25 17:21, Laura Nao ha scritto:
> MT8196/MT6991 uses ATP (Abnormal Temperature Prevention) mode to detect
> abnormal temperature conditions, which involves reading temperature data
> from a dedicated set of registers separate from the ones used for
> immediate and filtered modes.
>
> Add support for ATP mode and its relative registers to ensure accurate
> temperature readings and proper thermal management on MT8196/MT6991
> devices.
>
> While at it, convert mode defines to enum.
>
> Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>
> Signed-off-by: Laura Nao <laura.nao at collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the linux-arm-kernel
mailing list