All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Apple M1 watchdog timer
@ 2021-11-14 11:19 Mark Kettenis
  2021-11-14 11:19 ` [PATCH 1/3] watchdog: Add a driver for the Apple watchdog Mark Kettenis
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Mark Kettenis @ 2021-11-14 11:19 UTC (permalink / raw)
  To: u-boot; +Cc: sjg, sven, Mark Kettenis

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


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

end of thread, other threads:[~2022-01-12 18:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14 11:19 [PATCH 0/4] Apple M1 watchdog timer Mark Kettenis
2021-11-14 11:19 ` [PATCH 1/3] watchdog: Add a driver for the Apple watchdog Mark Kettenis
2021-11-14 12:36   ` Sven Peter
2021-11-25  0:12   ` Simon Glass
2022-01-11  8:57   ` Stefan Roese
2022-01-12 18:49     ` Mark Kettenis
2021-11-14 11:19 ` [PATCH 2/3] arm: dts: apple: Add watchdog timer node Mark Kettenis
2021-11-25  0:12   ` Simon Glass
2022-01-11  8:59   ` Stefan Roese
2021-11-14 11:19 ` [PATCH 3/3] arm: apple: Use watchdog timer for system reset Mark Kettenis
2021-11-25  0:12   ` Simon Glass
2022-01-11  9:00   ` Stefan Roese
2022-01-10 20:25 ` [PATCH 0/4] Apple M1 watchdog timer Mark Kettenis
2022-01-11  6:08   ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.