From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFE4D2F8BF3 for ; Tue, 14 Oct 2025 11:30:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760441429; cv=none; b=DMGi73AaNLKiUqltfHktSPDIMRI0a7K3qDdROnhfV5hX0gwOipt1PXCkU0jBHjQlynQ3QnCuP7z6pAWCbN4Hum0cV8MZKTGZxH/IWaKFdJTU7crNQkCQJZAdQdXs55ttzOuY4u83XFBbvjB8srlycD+mrhz0p0XJrD8Kk+LRDOs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760441429; c=relaxed/simple; bh=DW6Soa+EyZrGsAq6scGAnX4sB2XdUmO//NkjOugJRck=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=S0tPQ+sqswo6YUUGyNaCu9Yp/R8ZVjOT6QXZBStJUQSAeWiItZwmV2zCqsSP0Knup2z8EkBV/kagH10tV9/frqwSVt6SfqNASETAtuj4heLr0GbeCdVsJr6VIioL1yO5skAUbhErhBzUNqYVcaf/+PMPVqoca+HShOG8eceLZpU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=JtVXGpOZ; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="JtVXGpOZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=k1; bh=O3Ns10gBhYghn7 46iVy+H+W/ZDdIGY8P59pG+5DvZik=; b=JtVXGpOZrRd/5xKTzFZCG0ud0Thqnb EK7m+j3PQwtxO96z0gLiHM+bz/c3qNF8PCf0Q7rXLA9n1Hpjmv0/TxwgqGlM4Nrr Pq09FLLk9bAcHYeP3i31cRIqzceLykJYInFpG/B0q8YIjHn0wKJJ6fALq1pZN8ji tPubEpzS+bK6fQGSiwQ4pWdMIgpNPsaGKGr2pi5lEjeLROeAGMFTtDDsnZ1HbtCD Gj6Ewm4GmyN7i+jmSf8EnuwuTG7iYpxM/mZ/JXa6v0hKzP3qLqWQ1wBmMDT+z+E2 +AE4sBufvo7A7MLKZpAPC+POBtGqUvQstEdrKwleaSLFApbTVwMng+Dg== Received: (qmail 2943606 invoked from network); 14 Oct 2025 13:30:17 +0200 Received: by mail.zeus03.de with UTF8SMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 14 Oct 2025 13:30:17 +0200 X-UD-Smtp-Session: l3s3148p1@pVFRtRxBuN4gAwDPXwQHAL/S9V79e5yL From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Conor Dooley , devicetree@vger.kernel.org, Geert Uytterhoeven , Guenter Roeck , Krzysztof Kozlowski , linux-watchdog@vger.kernel.org, Magnus Damm , Rob Herring , Wim Van Sebroeck Subject: [PATCH v2 0/2] watchdog: add Renesas Window Watchdog support Date: Tue, 14 Oct 2025 13:29:52 +0200 Message-ID: <20251014112953.25712-4-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.47.2 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This Window Watchdog is a little peculiar because it can only be setup once but we cannot find out if this write already happened. So, configuration is delegated to the firmware/bootloader and the driver will adapt to whatever is configured. The driver handles all bits described in the datasheets. This is really all there is. Tested on a SparrowHawk board (Renesas R-Car V4H). Based on v6.18-rc1 and build bot is already happy. Passes also binding checks and dtb checks here. Big picture change since v1 (details mentioned per patch): * support not only V4H but all Gen3/4 SoCs having this WWDT Looking forward to comments! Wolfram Sang (2): dt-bindings: watchdog: Add Renesas WWDT watchdog: renesas_wwdt: add driver .../watchdog/renesas,rcar-gen3-wwdt.yaml | 114 ++++++++++++ drivers/watchdog/Kconfig | 8 + drivers/watchdog/Makefile | 1 + drivers/watchdog/renesas_wwdt.c | 163 ++++++++++++++++++ 4 files changed, 286 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/renesas,rcar-gen3-wwdt.yaml create mode 100644 drivers/watchdog/renesas_wwdt.c -- 2.47.2