[PATCH 0/4] Apple M1 watchdog timer

Mark Kettenis kettenis at openbsd.org
Sun Nov 14 12:19:39 CET 2021


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/

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

Tom Rini (1):
  configs: Resync with savedefconfig

 arch/arm/Kconfig                              |   3 +
 arch/arm/dts/t8103.dtsi                       |  13 +-
 arch/arm/mach-apple/board.c                   |  24 ----
 configs/T1024RDB_NAND_defconfig               |   3 +-
 configs/T1024RDB_SDCARD_defconfig             |   2 +-
 configs/T1024RDB_SPIFLASH_defconfig           |   2 +-
 configs/T1024RDB_defconfig                    |   2 +-
 configs/T1042D4RDB_NAND_defconfig             |   2 +-
 configs/T1042D4RDB_SDCARD_defconfig           |   1 -
 configs/T1042D4RDB_SPIFLASH_defconfig         |   2 +-
 configs/T1042D4RDB_defconfig                  |   2 +-
 configs/T2080RDB_defconfig                    |   1 -
 configs/kmcent2_defconfig                     |   2 +-
 configs/kmtegr1_defconfig                     |   2 +-
 configs/kontron_sl28_defconfig                |   1 -
 configs/ls1021aiot_qspi_defconfig             |   1 -
 configs/ls1021aiot_sdcard_defconfig           |   2 +-
 configs/ls1021aqds_ddr4_nor_defconfig         |   2 +-
 configs/ls1021aqds_ddr4_nor_lpuart_defconfig  |   2 +-
 configs/ls1021aqds_nand_defconfig             |   1 -
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig  |   2 +-
 configs/ls1021aqds_nor_defconfig              |   2 +-
 configs/ls1021aqds_nor_lpuart_defconfig       |   2 +-
 configs/ls1021aqds_qspi_defconfig             |   1 -
 configs/ls1021aqds_sdcard_ifc_defconfig       |   1 -
 configs/ls1021aqds_sdcard_qspi_defconfig      |   1 -
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |   2 +-
 configs/ls1021atwr_nor_defconfig              |   2 +-
 configs/ls1021atwr_nor_lpuart_defconfig       |   2 +-
 configs/ls1021atwr_qspi_defconfig             |   1 -
 ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |   2 +-
 configs/ls1021atwr_sdcard_ifc_defconfig       |   1 -
 configs/ls1021atwr_sdcard_qspi_defconfig      |   1 -
 configs/ls1028aqds_tfa_SECURE_BOOT_defconfig  |   1 -
 configs/ls1028aqds_tfa_defconfig              |   1 -
 configs/ls1028ardb_tfa_SECURE_BOOT_defconfig  |   1 -
 configs/ls1028ardb_tfa_defconfig              |   1 -
 configs/ls1043aqds_defconfig                  |   2 +-
 configs/ls1043aqds_lpuart_defconfig           |   2 +-
 configs/ls1043aqds_nor_ddr3_defconfig         |   2 +-
 configs/ls1043aqds_sdcard_ifc_defconfig       |   2 +-
 configs/ls1043aqds_sdcard_qspi_defconfig      |   2 +-
 configs/ls1043aqds_tfa_SECURE_BOOT_defconfig  |   2 +-
 configs/ls1043aqds_tfa_defconfig              |   2 +-
 configs/ls1043ardb_SECURE_BOOT_defconfig      |   2 +-
 configs/ls1043ardb_defconfig                  |   2 +-
 .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   |   2 +-
 configs/ls1043ardb_sdcard_defconfig           |   2 +-
 configs/ls1043ardb_tfa_SECURE_BOOT_defconfig  |   2 +-
 configs/ls1043ardb_tfa_defconfig              |   2 +-
 .../ls1046ardb_sdcard_SECURE_BOOT_defconfig   |   1 -
 configs/pg_wcom_expu1_defconfig               |   2 +-
 configs/pg_wcom_seli8_defconfig               |   2 +-
 configs/stm32mp15_dhcom_basic_defconfig       |   2 +-
 configs/stm32mp15_dhcor_basic_defconfig       |   2 +-
 configs/vinco_defconfig                       |   2 +-
 drivers/watchdog/Kconfig                      |   9 ++
 drivers/watchdog/Makefile                     |   1 +
 drivers/watchdog/apple_wdt.c                  | 111 ++++++++++++++++++
 scripts/config_whitelist.txt                  |   1 -
 60 files changed, 169 insertions(+), 84 deletions(-)
 create mode 100644 drivers/watchdog/apple_wdt.c

-- 
2.33.1



More information about the U-Boot mailing list