OSDN Git Service

thermal: imx_sc: add i.MX system controller thermal support
authorAnson Huang <Anson.Huang@nxp.com>
Sat, 22 Feb 2020 00:08:50 +0000 (08:08 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 12 Mar 2020 10:40:57 +0000 (11:40 +0100)
commite20db70dba1c0783b9878ce37171ad560b1ebaf3
tree9c5e5967736091288c20d09e76eff48ba1d90b86
parent34471abfc8fedcebf7c45a5e37ef383b8bb16de3
thermal: imx_sc: add i.MX system controller thermal support

i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller
inside, the system controller is in charge of controlling power,
clock and thermal sensors etc..

This patch adds i.MX system controller thermal driver support,
Linux kernel has to communicate with system controller via MU
(message unit) IPC to get each thermal sensor's temperature,
it supports multiple sensors which are passed from device tree,
please see the binding doc for details.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1582330132-13461-3-git-send-email-Anson.Huang@nxp.com
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/imx_sc_thermal.c [new file with mode: 0644]