[PATCH V8 0/4] Add i.MX8QXP system controller watchdog
From: Anson Huang
Date: Fri Mar 15 2019 - 02:17:17 EST
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.
Anson Huang (4):
dt-bindings: watchdog: add i.MX system controller watchdog
watchdog: imx_sc: Add i.MX system controller watchdog support
arm64: defconfig: add support for i.MX system controller watchdog
arm64: dts: imx8qxp: add system controller watchdog support
.../bindings/watchdog/fsl-imx-sc-wdt.txt | 20 +++
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 +
arch/arm64/configs/defconfig | 1 +
drivers/watchdog/Kconfig | 16 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/imx_sc_wdt.c | 182 +++++++++++++++++++++
6 files changed, 224 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/fsl-imx-sc-wdt.txt
create mode 100644 drivers/watchdog/imx_sc_wdt.c
--
2.7.4