linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/4] Add i.MX System Controller thermal driver support
@ 2018-11-29  2:37 Anson Huang
  2018-11-29  2:37 ` [PATCH V4 1/4] dt-bindings: fsl: scu: add thermal binding Anson Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Anson Huang @ 2018-11-29  2:37 UTC (permalink / raw)
  To: rui.zhang, edubezval, daniel.lezcano, robh+dt, mark.rutland,
	catalin.marinas, will.deacon, Aisheng DONG, Andy Gross, heiko,
	horms+renesas, arnd, amit.kucheria, enric.balletbo, ezequiel,
	olof, bjorn.andersson, shawnguo, LW, linux-pm, devicetree,
	linux-kernel, linux-arm-kernel
  Cc: dl-linux-imx

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.

Note that this patch set is based on [V4,4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support,
https://patchwork.kernel.org/patch/10703779/

Anson Huang (4):
  dt-bindings: thermal: add binding doc for i.MX system controller
    thermal driver
  thermal: imx_sc: add i.MX system controller thermal support
  defconfig: arm64: add i.MX system controller thermal support
  ARM64: dts: imx: add i.MX8QXP thermal support

 .../devicetree/bindings/thermal/imx-sc-thermal.txt |  33 ++++
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi         |  27 +++
 arch/arm64/configs/defconfig                       |   1 +
 drivers/thermal/Kconfig                            |  11 ++
 drivers/thermal/Makefile                           |   1 +
 drivers/thermal/imx_sc_thermal.c                   | 201 +++++++++++++++++++++
 6 files changed, 274 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/thermal/imx-sc-thermal.txt
 create mode 100644 drivers/thermal/imx_sc_thermal.c

-- 
2.7.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-12-07 23:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29  2:37 [PATCH V4 0/4] Add i.MX System Controller thermal driver support Anson Huang
2018-11-29  2:37 ` [PATCH V4 1/4] dt-bindings: fsl: scu: add thermal binding Anson Huang
2018-12-07 23:13   ` Rob Herring
2018-11-29  2:37 ` [PATCH V4 2/4] thermal: imx_sc: add i.MX system controller thermal support Anson Huang
2018-11-29 16:49   ` Eduardo Valentin
2018-11-30  1:18     ` Anson Huang
2018-11-29  2:37 ` [PATCH V4 3/4] defconfig: arm64: " Anson Huang
2018-11-29  2:37 ` [PATCH V4 4/4] ARM64: dts: imx: add i.MX8QXP " Anson Huang
2018-11-29 16:50   ` Eduardo Valentin
2018-11-29 16:50   ` Eduardo Valentin
2018-11-30  1:11     ` Anson Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).