Re: [PATCH v2 1/2] thermal: mediatek: add support for MT7986 and MT7981

From: Henry Yen (顏修溫)
Date: Thu Dec 01 2022 - 05:09:06 EST


On Wed, 2022-11-30 at 13:19 +0000, Daniel Golle wrote:
> Add support for V3 generation thermal found in MT7986 and MT7981
> SoCs.
> Brings code to assign values from efuse as well as new function to
> convert raw temperature to millidegree celsius, as found in
> MediaTek's
> SDK sources (but cleaned up and de-duplicated)
>
> [1]:
> https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/baf36c7eef477aae1f8f2653b6c29e2caf48475b
> Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>

Reviewed-by: Henry Yen <henry.yen@xxxxxxxxxxxx>

> ---
> Changes since v1: Drop use of adc_oe field in efuse, Henry Yen
> confirmed
> its use has been dropped intentionally in MTK SDK as well.
>
> drivers/thermal/mtk_thermal.c | 122
> +++++++++++++++++++++++++++++++++-