Skip to content

Watchdog: Add support for sunxi hardware watchdog

Chris Blake u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2watchdog: Fix SPL builds when watchdog is enabledinclude/watchdog.h+2 -21 reply
2/2watchdog: Add sunxi watchdog drivercommon/board_f.c drivers/watchdog/Kconfig drivers/watchdog/Makefile +1 more+124 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] Watchdog: Add support for sunxi hardware watchdog

The following patches are needed to add support for the hardware watchdog found in most sunxi SoC's.

The patches below have only been tested on a sun50i device (H5 SoC) and work as expected. The actual sunxi_wdt.c was roughly based off of the mainline linux driver, and is enabled by adding CONFIG_SUNXI_WDT to your config. It is not enabled by default.

Chris Blake (2):
watchdog: Fix SPL builds when watchdog is enabled
watchdog: Add sunxi watchdog driver

 common/board_f.c             |   3 +-
 drivers/watchdog/Kconfig     |  18 ++++++++
 drivers/watchdog/Makefile    |   1 +
 drivers/watchdog/sunxi_wdt.c | 103 +++++++++++++++++++++++++++++++++++++++++++
 include/watchdog.h           |   4 +-
 5 files changed, 126 insertions(+), 3 deletions(-)
 create mode 100644 drivers/watchdog/sunxi_wdt.c
Signature · 1 line
2.7.4