From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 011913B71A2 for ; Mon, 6 Jul 2026 14:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783349320; cv=none; b=FG6x7+zF8VfhP1dCJayj5QmdrHjTxCqB/3LNKnzzsy8WyK6lX41/pMEeQJvN1KY6WFrLN5n8G7B/IrcGboTIIWlfHaUIon+gqqwAfkW3JAHFORBzZ0zZgDzX+CStDe10Ye9NI0enbL8jUYe1xHg5Fnl4pX3U4cORZGaRCnYKj1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783349320; c=relaxed/simple; bh=JUJG5Grow4ynAAXlgwL43WqrOFCddT6+gQAxPmGjgds=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZVTmaLjnKEe+p/61arcOF4Dyv/Iz/ffYecZlULxsslN1SEZRnpZeKyh/hwU50+PjglSgskSj4U1/yCyM6wHVJZsMwhFEqKHfS6rCK2kbivZf4V0jnnE+q5/OtbmY2avV6WEcNTma96S/ToRAK8CeMVUhh+lj4oUyo3Uck9r92UY= 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=bENr7Prm; arc=none smtp.client-ip=209.85.221.48 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="bENr7Prm" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-47de0093c42so1237670f8f.3 for ; Mon, 06 Jul 2026 07:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783349317; x=1783954117; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jqvnsBC1QnHy0BgYcjusDNjgJMCaD3QUZ4+Za8Z0104=; b=bENr7PrmgS7b57cOFH1CvyEzupl31QFfsdXmZNnifkjqtaKB0pkaIVrVhEzNK33CwO RBmNqjWHh/TTn4PojZ+AeavMTPQfzVR6tq8l2e17HuLvpa2K8PxRfOEHY6870GXQ+070 9mNWbqRrGvYRLNd3/L6ua/CeEDXe8qeXuur4TjaBgH1+CzBrV/UU9aMkWZ/oMf+3uVfX VxZQtwEtKZJiaiP+Rh6M5Uw2gibdHdNbfYjzAG53j7+ZITgviZsOjarShD0iE9X1/hH3 NqFbaokMZ1ckotDALUJ0CvCQe4g06Xqa+JfKJeyWe5fig3D29L6ASWWrqBknfVen5uQU gm0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783349317; x=1783954117; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=jqvnsBC1QnHy0BgYcjusDNjgJMCaD3QUZ4+Za8Z0104=; b=ZyMrt2FOz3Fkn+bmqWDrvDl1skE2zqW7ojc3HhOwjnwPquakP/0L6hXedoinwpSYB/ dCSPDufRvqiiAYdqJoxhJYq1xADRqCQ+z0ogtpBz0ao7AfyN77V9KT2lfXKSPwdrFRNp Lyk9kMst+AV837UYXwCBKgE2J1gD4vr+YCk/WZ0iXRw8aGWv+JkaQdk1H1OkqcdjsUdt dctYM1jp+Mh++ZK5X+UyROlbePqDrK25W6I68Bnl8Ff7GFzdUt0s+Qll1Za7N8+sTarW bWzFRe05O8u8jtUvnFSaQs6LmUKTuVOsNp5x7+dvBfwErJOdL2C3n/gZoRTruGJyY305 hA2w== X-Forwarded-Encrypted: i=1; AHgh+Rp3Q4kAgcyz+3IY/7zaimaFjVDB1uJysRoHvr8AQCHqQFZFiY6WiOrZ+PoynRaht7GxJ0BoyVdKay9/@vger.kernel.org X-Gm-Message-State: AOJu0YwMAOSxNO+IusPWRXrpVRdITE5aaZgl5t6sc18XbhgAX1xSVhbo y4cpf1MKJRGBudvLX4IHXLcNSJhNhrsDJNXVHWPTo2eIoDNdVzIf10fW X-Gm-Gg: AfdE7cnt0KdIkiIDB19nVV2d5BSOhXO3XbzCoBhMAE2rMxcwxT86zO3LFbCJ9ErKQOG IIkjPd8pCxAa4dYQcvoehVZnhWJsoqXv8DKdUYzLaD9Iz52Pz2b0sQcf+dbxtu4tWLqkFphU0M0 vq0Eg43oXjhUvdChT+PqB1kcblTX9LhzfD2eSEjdg4bzSsxV3haMDsKj+O/DALDHJP8jC2/Pj5T pndUASi50rWh8i/RiuPbkzlwazwgit9Fz6oYyzBDggX6OoP0J8B1HvtCQMOZZBzYLHj/2FKqP8r MP1ikTWrDjRp5ZK/ylEL5t/6rhOGo7ZkRCGaYJVHb3nbm0aOpgllu1wLHm6ZIS6eOLXN7uxLTBM E1B5FNlVHNLaMN5lVbGfDxN6GF6m9yt6+KSA4e/FrF84Dyiu7/mqoID9hBzeURgsyN404BiDLDy i6yYGDE7ok12BRAG63bKEpYU0WpJaFmSywPA== X-Received: by 2002:a05:6000:186e:b0:476:d52b:b85 with SMTP id ffacd0b85a97d-47de6695ff5mr680196f8f.16.1783349317101; Mon, 06 Jul 2026 07:48:37 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2026 07:48:36 -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 1/3] dt-bindings: watchdog: npcm: add GCR syscon property Date: Mon, 6 Jul 2026 17:48:26 +0300 Message-Id: <20260706144828.3517631-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260706144828.3517631-1-tmaimon77@gmail.com> References: <20260706144828.3517631-1-tmaimon77@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit NPCM750 and NPCM845 latch watchdog reset indications in the SoC GCR block rather than in the watchdog block itself. Add the optional nuvoton,sysgcr phandle so watchdog nodes can reference the shared GCR reset-status registers that hold those latched watchdog reset indications. This is needed by the following reset-status support, which reads those latches and reports watchdog-caused resets through bootstatus. Signed-off-by: Tomer Maimon --- .../bindings/watchdog/nuvoton,npcm750-wdt.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml index 7aa30f5b5c49..81269fdc81a5 100644 --- a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml @@ -16,6 +16,14 @@ description: allOf: - $ref: watchdog.yaml# + - if: + properties: + compatible: + contains: + const: nuvoton,wpcm450-wdt + then: + properties: + nuvoton,sysgcr: false properties: compatible: @@ -40,6 +48,12 @@ properties: clock-frequency: description: Frequency in Hz of the clock that drives the NPCM timer. + nuvoton,sysgcr: + $ref: /schemas/types.yaml#/definitions/phandle + description: + a phandle to access the GCR reset-status registers that latch + watchdog reset indications on NPCM750 and NPCM845. + required: - compatible - reg -- 2.34.1