All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@openbsd.org>
To: u-boot@lists.denx.de
Cc: sjg@chromium.org, sven@svenpeter.dev,
	Mark Kettenis <kettenis@openbsd.org>
Subject: [PATCH 0/4] Apple M1 watchdog timer
Date: Sun, 14 Nov 2021 12:19:39 +0100	[thread overview]
Message-ID: <20211114111942.96151-1-kettenis@openbsd.org> (raw)

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


             reply	other threads:[~2021-11-14 11:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-14 11:19 Mark Kettenis [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211114111942.96151-1-kettenis@openbsd.org \
    --to=kettenis@openbsd.org \
    --cc=sjg@chromium.org \
    --cc=sven@svenpeter.dev \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.