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: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
Showing
drivers/thermal/mtk_thermal.c
0 → 100644
想要评论请 注册 或 登录