linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add i.MX8QXP system controller watchdog support
@ 2019-02-14 11:44 Anson Huang
  2019-02-14 11:44 ` [PATCH 1/4] dt-bindings: fsl: scu: add watchdog binding Anson Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Anson Huang @ 2019-02-14 11:44 UTC (permalink / raw)
  To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
	catalin.marinas, will.deacon, wim, linux, Aisheng Dong,
	ulf.hansson, Daniel Baluta, Andy Gross, horms+renesas, heiko,
	arnd, maxime.ripard, bjorn.andersson, jagan, enric.balletbo,
	marc.w.gonzalez, olof, devicetree, linux-kernel,
	linux-arm-kernel, linux-watchdog
  Cc: dl-linux-imx

i.MX8QXP is an ARMv8 Cortex-A35 SoC with a Cortex-M4 system controller inside,
the system controller manages overall power, clock, secure RTC and watchdog
etc., so Linux kernel running on A35 needs to communicate with system
controller for watchdog operation, this system controller watchdog will
call SMC to trap to EL3 secure world ARM-Trusted-Firmware and then it will
request system controller to do the watchdog operation via IPC.

Below are the patch dependency:

The dt-binding and imx8qxp.dtsi patch are based on my thermal patch series as below:
https://patchwork.kernel.org/patch/10800699/

Anson Huang (4):
  dt-bindings: fsl: scu: add watchdog binding
  watchdog: imx_sc: Add i.MX system controller watchdog support
  arm64: defconfig: add support for i.MX system controller watchdog
  arm64: dts: freescale: imx8qxp: add watchdog support

 .../devicetree/bindings/arm/freescale/fsl,scu.txt  |  10 +
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi         |   4 +
 arch/arm64/configs/defconfig                       |   1 +
 drivers/watchdog/Kconfig                           |  13 ++
 drivers/watchdog/Makefile                          |   1 +
 drivers/watchdog/imx_sc_wdt.c                      | 210 +++++++++++++++++++++
 6 files changed, 239 insertions(+)
 create mode 100644 drivers/watchdog/imx_sc_wdt.c

-- 
2.7.4


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

end of thread, other threads:[~2019-02-18  1:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-14 11:44 [PATCH 0/4] Add i.MX8QXP system controller watchdog support Anson Huang
2019-02-14 11:44 ` [PATCH 1/4] dt-bindings: fsl: scu: add watchdog binding Anson Huang
2019-02-14 11:44 ` [PATCH 2/4] watchdog: imx_sc: Add i.MX system controller watchdog support Anson Huang
2019-02-14 14:50   ` Guenter Roeck
2019-02-14 11:45 ` [PATCH 3/4] arm64: defconfig: add support for i.MX system controller watchdog Anson Huang
2019-02-14 11:45 ` [PATCH 4/4] arm64: dts: freescale: imx8qxp: add watchdog support Anson Huang
2019-02-18  1:26   ` Shawn Guo

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).