]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit042302590a27541c7b2432a1d4ff1e3227592ed0
tree9c5e5967736091288c20d09e76eff48ba1d90b86
parentbeed84d4d45f60e0e5c177833e5209db543444c3
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]