[PATCH V9 0/4] Add i.MX8QXP system controller watchdog
From: Anson Huang
Date: Wed Mar 20 2019 - 22:26:38 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.
Changes since V8:
- change the timeout value to be from DT instead of from module parameter,
and also update the binding doc and dts to add timeout property.
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 | 24 +++
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 5 +
arch/arm64/configs/defconfig | 1 +
drivers/watchdog/Kconfig | 16 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/imx_sc_wdt.c | 177 +++++++++++++++++++++
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