From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 CCFB0390610 for ; Mon, 22 Jun 2026 08:30:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782117057; cv=none; b=A7xmX7q6JXn4s189UXsci00mBO5hfHUAPfdMYwSg5eWGPxpGW9/HDUvUMWEmgLVHVJhwMjUTOclplYlxfmCMb5xVIaMz9mLns5z8P/VUQ/3NY358hpNBNufdSwdE3BB5g5mQSSJRZy3aF7CovQUpv1TVh9iuPTjiqXi68ZUcfeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782117057; c=relaxed/simple; bh=LvJ0Q2kkj/DeAyfiDOPZ8HPXq2hWb/mg+ljAJ2hfyBY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=pPINb9437lA/zywu+NXWTiEq71rhJOjCu/cZEI8Fi93EvTfKM7r1JkP6BQIK0YZmu35qFCOKlHsRINE+QolWsif0pggc0aUHbE3RTBVRa18ZgFkEIA1c2rZeSo8v2hNa0cbEXnmrWccqZRc3GkwXQRn5K79FC2xoUcCnTqmP0jI= 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=LLWMatNQ; arc=none smtp.client-ip=209.85.128.49 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="LLWMatNQ" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-490cf322ed0so31247935e9.1 for ; Mon, 22 Jun 2026 01:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782117052; x=1782721852; 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=wQOCUaRpEixwkQO/jMCRS1iA3oZk4GEUUJDXJCaOQNE=; b=LLWMatNQVGpNnfFndOivciD4YQoF+3tfhOHm+27AO0Q5xE2iTDC/JBPU12XqSj3dw8 JcJrB6GmKoMPiIVm7Sz1Cd56g/h9T64v7+yFoyXDOOhG7h32WQhIDdbGAF6pHS44cUxH bK7QWXxYwkIqcVAR8UmptWWrczViDXoKYF0MCTu9VnK8TxvigqkWpiwchhw8US9FFrDJ OiFmVS/um7swr8npM5iXE8LjJ/MsBjGaQmjZGClbnXlyTfPUX191s//ss/wb38QWoRvr K3L0A0L7JsMcq+/pth4/vj+I1c9MmBY+dRQZU7bZUjPNTJJ9ArfIhvMYxwk3fB3DCvYq Ybkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782117052; x=1782721852; 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=wQOCUaRpEixwkQO/jMCRS1iA3oZk4GEUUJDXJCaOQNE=; b=NTw2L82y7p5/FoqlKxzcTIfaCY/NBv4EuPX0wyUnU73du+ZNTT9ETOTRA2Ar82e2ss yPOD5Bv3NJhy5e3t4WfHET9dLmI7pPokykr01+lf9LHJydu2tTbjLGuiCmlpSe6AWR65 iAA5Mm2J4jPmwTpCilmoPdfU6NGakmWCKL+JEcKVJRchfMmvaH2j2pyUL6lSbQhBW2J8 Qu8Wbj2x1I0J+TtFM29sHS4LFpl2YqZE2bJY/hKJJPULMH+rk7UDp56V/+UFFn7/FwBq 04uoCXOz+vQ9ZV+ccQQDPfcRFN464TENV9xsro1CJkRfcIKwLriYxOdQScmJo5P3qH28 vj/Q== X-Forwarded-Encrypted: i=1; AFNElJ+SQnSxDV/58P0r0QzqNfzcKH9oOMNHsDGJtsaSLzgaTF9pqVCaogXpljrRZhXN2PpKrlR9PDsaWBPSh3ccow==@vger.kernel.org X-Gm-Message-State: AOJu0Yy2MCJ7+QdKjzlGJ8CPlpu6T4hrIjTUf/jPm2BSdoa3qUlG4cq3 uDyvVsMeqROMOiv9UCNspNjP0RQOI0PZRP37h7JzFTjDvQR+t+sEzoTBSgABaw== X-Gm-Gg: AfdE7cleE2rd17o0vgZ4LaCZXq++1YUH6Iyh1GXfQh8JvIufhoq9hmt/vpL37wpai5f fCP/wBvkRqcnvfpAxGFqsnIY0jhGP9xJCDvsD52SVIYS45scr3IHr/gnYYp1JBaH83+0fBPOQ7f JsYjuFkCppgAS/47DVMetQjjxjtJgsIOSzviyMuQIL3pE0FmuYeVFKMA2CnEve/UASoBOqfKF6S a+qCw1tOBZuGUCgn169Uinr69HqHZJeefIYfF0t+MgcY81kyQIWiyzJlexCMq/ZqVInRWtaQcWh rwRUUD0u03KTAyALlWWAnxQlgkjZu1oqvvqkCMIch+b+5KkZNFji11X4Roqhs195+/zA9ZJlt29 sHN5PiqMWsxUbtHRRpbDc7dxy99ewla3ljsmXKxC76mnFaLaavB68mQ4LQt/RG/lzka+PkdhePl JotFzqUStCI9M2QRMn7Jl6B+E= X-Received: by 2002:a05:600c:468c:b0:492:3c7e:57aa with SMTP id 5b1f17b1804b1-4923eeb494emr220979255e9.0.1782117051481; Mon, 22 Jun 2026 01:30:51 -0700 (PDT) Received: from taln60.nuvoton.co.il ([212.199.177.18]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-492494497ffsm200809105e9.11.2026.06.22.01.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2026 01:30:51 -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 v2 0/3] watchdog: npcm: Add reset status detection support Date: Mon, 22 Jun 2026 11:30:43 +0300 Message-Id: <20260622083046.3189603-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 - Krzysztof Kozlowski: https://patchwork.ozlabs.org/project/openbmc/patch/2= 0260210133843.1078463-2-tmaimon77@gmail.com/=0D - Guenter Roeck: https://patchwork.ozlabs.org/project/openbmc/patch/2026021= 0133843.1078463-3-tmaimon77@gmail.com/=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 | 6 + Documentation/watchdog/index.rst | 1 + Documentation/watchdog/npcm_wdt.rst | 70 +++++++ drivers/watchdog/npcm_wdt.c | 197 +++++++++++++++++- 4 files changed, 272 insertions(+), 2 deletions(-) create mode 100644 Documentation/watchdog/npcm_wdt.rst --=20 2.34.1