[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241210-da9052-wdt-v1-0-d026e0158688@gmail.com>
Date: Tue, 10 Dec 2024 14:13:47 +0100
From: Marcus Folkesson <marcus.folkesson@...il.com>
To: Support Opensource <support.opensource@...semi.com>,
Lee Jones <lee@...nel.org>, Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>
Cc: linux-kernel@...r.kernel.org, linux-watchdog@...r.kernel.org,
Marcus Folkesson <marcus.folkesson@...il.com>
Subject: [PATCH 0/2] DA9052 boot status
Make it possible to read out the boot status from the da9052-wdt driver.
Function verified with `wdctl`.
root@...c:~# wdctl /dev/watchdog1
Device: /dev/watchdog1
Identity: DA9052 Watchdog [version 0]
Timeout: 4 seconds
Pre-timeout: 0 seconds
FLAG DESCRIPTION STATUS BOOT-STATUS
CARDRESET Card previously reset the CPU 1 1
KEEPALIVEPING Keep alive ping reply 1 0
OVERHEAT Reset due to CPU overheat 0 0
POWERUNDER Power bad/power fault 0 0
SETTIMEOUT Set timeout (in seconds) 0 0
Signed-off-by: Marcus Folkesson <marcus.folkesson@...il.com>
---
Marcus Folkesson (2):
mfd: da9052: store result from fault_log
watchdog: da9052_wdt: add support for bootstatus bits
drivers/mfd/da9052-core.c | 26 +++++++++++++-------------
drivers/watchdog/da9052_wdt.c | 13 ++++++++++++-
include/linux/mfd/da9052/da9052.h | 2 ++
3 files changed, 27 insertions(+), 14 deletions(-)
---
base-commit: cdd30ebb1b9f36159d66f088b61aee264e649d7a
change-id: 20241210-da9052-wdt-a7943a745987
Best regards,
--
Marcus Folkesson <marcus.folkesson@...il.com>
Powered by blists - more mailing lists