From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 16A7636C9C2 for ; Mon, 6 Jul 2026 14:48:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783349317; cv=none; b=a/XCOegWnrdGDk/qCpudMlOURlY1Y+S7FKxmPB3cLBi0c00TDS9OTR6Pv7pZE3/7W2BFTAKdNtNeYVa6mEPVqeKKdoz7h1eOqptv+zLTxoowuIJrITaYCbtx24rvRdIPn6JBCPeHM4p9myAsLxpFhpVRM2trfUgunGrdw/MQa4Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783349317; c=relaxed/simple; bh=GWx5FgcRD+mDpPY24qaILY9TnVMQBFze1SRetKPUeC8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=CcXdOHEYai1kX92qFKDJwjQT3Rzvw+QW5V3LXl21p7HNPCSAq+0Ua9PuWpyRLPPoqWKZKtCXT7s/4hZ8cj4m/il+M2l3jhoaK3KAkYtaG9Q95+gEFd7yiCsTDUfE18NLboWlmhfup+fxTQ4pd5Y0IO/2YngKZyOrbaVVq63/RQM= 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.44 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-f44.google.com with SMTP id 5b1f17b1804b1-493b1710405so19295375e9.2 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=QFHoIP5c1bzrWocQyMGyY+mskwqQO8rniljg/tmOkwsTknazkx1rAgoF3I9n/KZm0o i8hgciUSGYlVzFuGKGzBfdHh4R+siMAE5mRapvR+LNGR915BhKRWjGe7zmvu2GCAKj6r V2DpYpzrXx+ZK08AzeFjvz3W3rrowaKROdZRUVkBpBdYBgSZeGvUc5/mKphGqaTFDppC ee8sgwCz5YmABh+PLcUizTpLbC2GflmeoqQF0abCT8kpKg3nYRQqfAWuGfy4WvxHIj4U 4zZyw2zdLlzs7voiy12WKt9zIK4JOVVlpV9L/6WzmNliVljSMVkR9VzZzWgZcXtalfBE HoaA== X-Forwarded-Encrypted: i=1; AHgh+RqKwvmpMnQRFBr35Rvb5H8AGobAfVK80t9C5E9c4XjTysWsrc/3UDMqCr9T7i10kp/FSTfE6q3/GeZWlYM12A==@vger.kernel.org X-Gm-Message-State: AOJu0Yzfx6xLvbFh6EhTECKC+B/xm+ihIIbLtzOfFJ8TyRjR8ZAEULId sJDfW/nZEIanKClZWIr98TBPxUTgDEBznZktS2CtYTUJ6SrYB+z6V/+U X-Gm-Gg: AfdE7cl6HkL8z4ei95vaXU9mtsGM/VjfNDYOeiy8nw011cU5yhQASGJELff1xROIrbj 7UAUJ5eg3xQqhvNOooy6JBCK3opNqBlr9+ZeM5UVMvYsXpqBxtCV/jm8Vz6o+64WlYjIFrPvnwD RmhhTGvy4+LQ5Y9e+TOtFLCSJbTEjKx0lLd1+Syvx3iq0U5Ed8vYMVgsE2aOuhnr9Igwmwl58PT rMsDs9inxGOJ3xXHBFOCNtQ8FVWCH/ZoGlsC+Ci5pp30MwpMzLCQUqEb90+mFABriI3OEIt94iF 5VDHZe6CfBmWxo/o0voynXE52U/gq+dJj5h97k7cFECd/EGsi5p/sWW5thEvU2EWPy9/RRqx5pU LAzjIZL7e/ndCJDGUD1+rtK8w1r9r6dWYMO4nBSCz9HCdw8c4d2PDF+vNU7Ik9WNN89o7YVpBHn Ckqr6A5KxUml2LLZiaJqUdLAE= 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-watchdog@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