[0/2] Add Mediatek thermal driver for MT7622
mbox series

Message ID 1584611693-3553-1-git-send-email-henry.yen@mediatek.com
Headers show
  • Add Mediatek thermal driver for MT7622
Related show


Henry Yen March 19, 2020, 9:54 a.m. UTC
Mediatek owns two thermal systems, which are almost the same except for
the way of reading calibration data and converting temperature.
MT8173, MT2701, MT2712 and MT8183 belongs to version 1 thermal system,
and MT7622 belongs to version 2. The current code has already supported
version 1 system. Then this patchset adds the support for another
platform (e.g., MT7622 SoC).

Henry Yen (2):
  thermal: mediatek: prepare to add support for other platforms
  thermal: mediatek: add tsensor support for MT7622 SoC

 drivers/thermal/mtk_thermal.c | 244 ++++++++++++++++++++++++++--------
 1 file changed, 189 insertions(+), 55 deletions(-)