Skip to content

watchdog: npcm: Add reset status detection support

Tomer Maimon linux-devicetree linux-doc linux-watchdog lkml openbmc 4 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 4 repliesApplied
  2. v33 patches 3 repliesSuperseded
  3. v23 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches13 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: watchdog: npcm: add GCR syscon propertyDocumentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml+14 -02 replies
2/3docs: watchdog: npcm: Add reset status descriptionDocumentation/watchdog/index.rst Documentation/watchdog/npcm_wdt.rst+72 -01 reply
3/3watchdog: npcm: add bootstatus supportdrivers/watchdog/npcm_wdt.c+215 -21 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] watchdog: npcm: Add reset status detection support

This series documents and implements reset indication reporting for the NPCM watchdog driver on NPCM7xx and NPCM8xx systems, and documents the optional GCR syscon property used by that support.

Patch 1 updates the watchdog binding to allow the optional ``nuvoton,sysgcr`` property used for reset-cause reporting. Patch 2 adds watchdog documentation that describes the bootstatus mapping.
Patch 3 reads the SoC reset indication bits and maps them into the existing watchdog bootstatus flags for NPCM750 and NPCM845, while leaving WPCM450 unchanged.

Addressed comments from:
- Conor Dooley: https://patchwork.ozlabs.org/project/openbmc/patch/[email protected]/

Changes since version 3:
- make GCR syscon-property conditional.

Changes since version 2:
- reword patch 1 to explain the hardware reason for the GCR phandle and why it is needed for the reset-status support, per Krzysztof's review
- cache NPCM750 reset status in SCRPAD2 so later watchdog probes can report the same boot-time state

Changes since version 1:
- Modify reset detection handle in the watchodg.
- reword patch 1 to use the GCR syscon-property wording from the applied NPCM reset binding update and drop the optional property from the binding example.
- reword the patch subjects and commit message bodies to match current kernel dt-bindings, docs, and watchdog style.

Tomer Maimon (3):
dt-bindings: watchdog: npcm: add GCR syscon property
docs: watchdog: npcm: Add reset status description
watchdog: npcm: add bootstatus support

 .../watchdog/nuvoton,npcm750-wdt.yaml         |  14 ++
 Documentation/watchdog/index.rst              |   1 +
 Documentation/watchdog/npcm_wdt.rst           |  71 ++++++
 drivers/watchdog/npcm_wdt.c                   | 217 +++++++++++++++++-
 4 files changed, 301 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/watchdog/npcm_wdt.rst
Signature · 1 line
2.34.1