From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2661A3A59A3 for ; Mon, 6 Jul 2026 14:48:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783349318; cv=none; b=m+/wivPShRMk+7maN9Pp3o9vCvmnpM4xuRx77xnLyb14FiAEiJ4ufingGsELM7rfilxhpvaN+npJBo9HCvD7fL9RmmDVaHuuau3ZWt64uWCsZ4t3IqJeHrJMVOa8hqd0EqaQxfgughtkavg2qQvSqk3bj9EIB8iHc7Zk/vAUibk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783349318; c=relaxed/simple; bh=GWx5FgcRD+mDpPY24qaILY9TnVMQBFze1SRetKPUeC8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=dXUvG0WqJ0Zyzo+38SyNUFnSWbQ0H0oHquTDhv4nV/SfsKssDgNes+5UC210mYiGxIv4jKefoiK+jzWyA0LSb8Jl81f0gvSiPEoXe9BYn24YH7GdWrPnxKo+OzRCA4Si2cKs23QGfMwNBZ2D/txmBqhCVggIOP03Cj695I4bKnI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=d1RqDXgx; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="d1RqDXgx" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-493ce08a75bso13203975e9.1 for ; Mon, 06 Jul 2026 07:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783349314; x=1783954114; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tHFkYHWOg5pdLelSKYNCUHTqMpEtEJf+wOe1cZ/5trI=; b=d1RqDXgxNaLMXNaaq+KXe+Ofnj7OQCaapnaUV66M2hByZv6jtuUJ4zQ5BwKJUROfVh J1rCSaZJYEyGv8tR22y6JYIRD4YdyqQ/oe9Rsf3lxd/qeXudqMufPaYcmjVv76JXIK/f +4SwPtg4dEaLcXjNFEcKYUbIAkLEmeFJNRZELQpgQm77uY4YS2tqh4qDhm8GoWzAT5f2 12+JhzrGwVoZJdpzPvIxThLAS721yfgy7kNRx6FNrS1rnP/1F0lXK62SaKa88bN4ygFe SIMuI8rrLNwfL/T2dOzCv2XIqh5Fnwi/tPgvCE3vHMRErNmoEJ3SO1A5ZD/+C70iWiK0 QFaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783349314; x=1783954114; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tHFkYHWOg5pdLelSKYNCUHTqMpEtEJf+wOe1cZ/5trI=; b=cLAgJbqeBtDy2eb1l9P7+cCwBtbhrp+Ca6H9lt7SB5EclmUK64nTn0EtRwVKaVd61Y MwBDAlVbPeSpNEwTmv/G313Jd/ZDX4UdBmU2WnF54U1rIoQ4ttqzcqtx+L4fAyDL470l aGqf3BA7QM/FWpiFc9a5guYIbcmrOenmMrW15lThKrANCW/fsJ2+q5yfZY1TlDqunibP OtbEECdmpgPJk37Zn3o3qHGpLhzFXjKnneYxeI3tVbLcQ61OxU61QAirwIHHAza/g4UF gdeCagoPCrc2HG2C/UwMFKcPRro+vKzWPBwyJHcP/rRVM86B1x92jysWS/aNa5RizVjw IBpw== X-Forwarded-Encrypted: i=1; AHgh+RqJ2rzo71dtzblQdCojKnSoDp/sHKh7jd33N929lLr0G0MhXFCoRWqsZB5gPw6/tz1zmD4nbLvt5EuuGIU=@vger.kernel.org X-Gm-Message-State: AOJu0Yz7+lr3Bu8sxFq/zr/f5cWBjRFrxDBrg+aErtxEeS0r/7eIS2hP 3hjBS7QTs4iX+TIYNomgUel2vM7Bu4gn4/CfqAgbXmwpob7KVDJknvzzSscwSg== X-Gm-Gg: AfdE7cmD8SFunzGv9WXsxavukSeRSL/XF0SFG7a2hg5FbvcqW3xO8LZzrhYRQZSp9z5 2wfSu1SCYx/E23yfdTr5mEX+hMuWZ2wTKCm83Yth/j66PUNBb5O2UpakrpYAqpPoXLa0PphkTBS JrwPBtGy0M3rd7rNxFrP1D6BL9qpWQFt4G2UTOSNYyUvUIrCq5B/ThUVTiaQeyNgHJK8CMK0zyO gws5fhVrj/vcZIcakCsPgRUNtppS+EircY3OztP2QsHw+dPmEVaiE6fbQBoKbtsP6jgdV+y8Alx 8f70LtD3uugvNSuyVoc8goXvjrtyfeXgGgdTz/MKDViJOLUP90+AvG6BWgE7mJJmEMnNzPje6GC 7UgeAUBB+2yJkY+IbBwgGFQmVbFu8QR9BqOOQN5lESXOrnM5glGTFV+CBe0cSM39KX+zy5YHjIR YSZ8JGfZZp+QiWESHRMrTiDVk= X-Received: by 2002:a05:600c:c16d:b0:493:bd67:316 with SMTP id 5b1f17b1804b1-493df074319mr9805435e9.16.1783349314326; Mon, 06 Jul 2026 07:48:34 -0700 (PDT) Received: from taln60.nuvoton.co.il ([212.199.177.18]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47aa0960634sm26798473f8f.26.2026.07.06.07.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2026 07:48:33 -0700 (PDT) From: Tomer Maimon To: andrew@codeconstruct.com.au, wim@linux-watchdog.org, linux@roeck-us.net, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: openbmc@lists.ozlabs.org, linux-watchdog@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, corbet@lwn.net, skhan@linuxfoundation.org, joel@jms.id.au Subject: [PATCH v4 0/3] watchdog: npcm: Add reset status detection support Date: Mon, 6 Jul 2026 17:48:25 +0300 Message-Id: <20260706144828.3517631-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This series documents and implements reset indication reporting for the=0D NPCM watchdog driver on NPCM7xx and NPCM8xx systems, and documents the=0D optional GCR syscon property used by that support.=0D =0D Patch 1 updates the watchdog binding to allow the optional=0D ``nuvoton,sysgcr`` property used for reset-cause reporting.=0D Patch 2 adds watchdog documentation that describes the bootstatus=0D mapping.=0D Patch 3 reads the SoC reset indication bits and maps them into the=0D existing watchdog bootstatus flags for NPCM750 and NPCM845, while=0D leaving WPCM450 unchanged.=0D =0D Addressed comments from:=0D - Conor Dooley: https://patchwork.ozlabs.org/project/openbmc/patch/20260705= 140100.1543486-2-tmaimon77@gmail.com/=0D =0D Changes since version 3:=0D - make GCR syscon-property conditional.=0D =0D Changes since version 2:=0D - reword patch 1 to explain the hardware reason for the GCR phandle and=0D why it is needed for the reset-status support, per Krzysztof's review=0D - cache NPCM750 reset status in SCRPAD2 so later watchdog probes can=0D report the same boot-time state=0D =0D Changes since version 1:=0D - Modify reset detection handle in the watchodg.=0D - reword patch 1 to use the GCR syscon-property wording from the=0D applied NPCM reset binding update and drop the optional property from=0D the binding example.=0D - reword the patch subjects and commit message bodies to match current=0D 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 --=20 2.34.1