thermal: Add Mediatek thermal controller support
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 30 Nov 2015 11:42:32 +0000 (12:42 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 18 Feb 2016 15:20:36 +0000 (07:20 -0800)
commita92db1c8089e82b7524545d15b6d6ee6cee67965
tree501cef42f8931269bb2b7fbefdecf0d2cd5a15d2
parent025f272f9b0bffaf7b712b05b7f8fc7611e081fe
thermal: Add Mediatek thermal controller support

This adds support for the Mediatek thermal controller found on MT8173
and likely other SoCs.
The controller is a bit special. It does not have its own ADC, instead
it controls the on-SoC AUXADC via AHB bus accesses. For this reason
we need the physical address of the AUXADC. Also it controls a mux
using AHB bus accesses, so we need the APMIXEDSYS physical address aswell.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/mtk_thermal.c [new file with mode: 0644]