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

Henry Yen (顏修溫) Henry.Yen at mediatek.com
Thu Dec 1 02:07:50 PST 2022


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 at makrotopia.org>

Reviewed-by: Henry Yen <henry.yen at mediatek.com>

> ---
> 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
> +++++++++++++++++++++++++++++++++-


More information about the Linux-mediatek mailing list