[PATCH v2 0/3] Apple M1 watchdog timer

Mark Kettenis kettenis at openbsd.org
Wed Jan 12 19:55:14 CET 2022


This series adds a driver for the watchdog timer found on Apple's
M1 SoC and replaces the reset_cpu() function in the board file
with sysreset.  The driver is based on the Linux binding proposed
in [1].

[1] https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20211113094732.73889-1-sven@svenpeter.dev/


ChangeLog:

v2: - Adjust delay and add comment
    - Explain dropped device tree node in commit message

Mark Kettenis (3):
  watchdog: Add a driver for the Apple watchdog
  arm: dts: apple: Add watchdog timer node
  arm: apple: Use watchdog timer for system reset

 MAINTAINERS                  |   1 +
 arch/arm/Kconfig             |   3 +
 arch/arm/dts/t8103.dtsi      |  13 ++--
 arch/arm/mach-apple/board.c  |  24 --------
 drivers/watchdog/Kconfig     |   9 +++
 drivers/watchdog/Makefile    |   1 +
 drivers/watchdog/apple_wdt.c | 115 +++++++++++++++++++++++++++++++++++
 7 files changed, 137 insertions(+), 29 deletions(-)
 create mode 100644 drivers/watchdog/apple_wdt.c

-- 
2.34.1



More information about the U-Boot mailing list