thermal: mediatek: add thermal controller offset
authorMichael Kao <michael.kao@mediatek.com>
Fri, 1 Feb 2019 07:38:10 +0000 (15:38 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 6 Feb 2019 01:01:46 +0000 (17:01 -0800)
commitbd9403943d7d19ce54ae462762beecb54a751c44
tree87da5ebe6973f9777466c4b25461b7471630650e
parentf84514766985d39ff546097eb887f896a8cfb855
thermal: mediatek: add thermal controller offset

One thermal controller can read four sensors at most,
so we need to add controller_offset for the project with
more than four sensors to reuse the same register settings.

Signed-off-by: Michael Kao <michael.kao@mediatek.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/mtk_thermal.c