Mediatek owns two thermal systems, which are almost the same except for the way of reading calibration data and converting temperature. MT8173, MT8183, MT2701 and MT2712 belongs to version 1 thermal system, and MT7622 belongs to version 2. The current code has already supported version 1 system. Then this patchset will add the support for another platform (e.g., MT7622 SoC).
Changelog: v2: * reorganize the order of the two patches * remove unnecessary .extract and .convert callbacks * add fixes tag v1: * initial post Henry Yen (2): thermal: mediatek: prepare to add support for other platforms thermal: mediatek: add tsensor support for V2 thermal system drivers/thermal/mtk_thermal.c | 234 ++++++++++++++++++++++++++-------- 1 file changed, 181 insertions(+), 53 deletions(-) -- 2.17.1