thermal: mediatek: add Mediatek thermal driver for mt2712
authorLouis Yu <louis.yu@mediatek.com>
Tue, 1 Aug 2017 07:28:31 +0000 (15:28 +0800)
committerZhang Rui <rui.zhang@intel.com>
Thu, 31 Aug 2017 13:13:43 +0000 (21:13 +0800)
commit6cf7f002e70773fc11d032628edd2ecc679fe05b
treebd102cc6fdfd79883c06783a16614c7b3db9dccb
parentf09517ab172e919366d730fcf765f17eaada058b
thermal: mediatek: add Mediatek thermal driver for mt2712

This patch adds support for mt2712 chip to mtk_thermal,
and integrate mt2712 into the same mediatek thermal driver.
MT2712 has only 1 bank and 4 sensors.

Signed-off-by: Louis Yu <louis.yu@mediatek.com>
Reviewed-by: Dawei Chien <dawei.chien@mediatek.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/mtk_thermal.c