From patchwork Wed Jan 15 10:38:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13940283 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 846591EEA20; Wed, 15 Jan 2025 10:39:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736937565; cv=none; b=nf40dTgbc6flNmsPEcESfuLA69qRZ9al1ZQnrorXKZUO0P0b2rMBTSEdMu6I/Ojoy+L8FVSBIUMtfJzVwtTh9URjyisCKTCQXFnObBjEgXRlfm7uZ16sgqulWIVCwH2JLq4gVAl/evfhFx5Pq9HJnccpAfZhvtJLfPD8VmfS9lk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736937565; c=relaxed/simple; bh=Fu2okt0y2+IeQHNBikLETeTY557OS6ji8DQZNYHPgZw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qgBMH4TtpkiC7MPgksqrtZaoMa9hO6Vu/2TZhgaXmoIYOQWfBnQrHFQDCfXdbH9Dbk4MW9Q+RtGGXrOAT6HsUTybQAAQmD2EHr/NBL9/xJq+DFl0NB39kCox+LG9jHEbvXXub1VOM79Bpv950fDGepNp+nvYWROFZPPtPv8Gxng= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-CSE-ConnectionGUID: 68PlJ+6lRSCsOmDc84y/fg== X-CSE-MsgGUID: r3SI7oOKS3SCDKs69HnIzg== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 15 Jan 2025 19:39:18 +0900 Received: from localhost.localdomain (unknown [10.226.93.251]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id C577E422D9AF; Wed, 15 Jan 2025 19:39:05 +0900 (JST) From: Biju Das To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Biju Das , Geert Uytterhoeven , Magnus Damm , Wolfram Sang , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar Mahadev Lad , Biju Das Subject: [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: Document RZ/G3E support Date: Wed, 15 Jan 2025 10:38:50 +0000 Message-ID: <20250115103858.104709-2-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250115103858.104709-1-biju.das.jz@bp.renesas.com> References: <20250115103858.104709-1-biju.das.jz@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document the support for the watchdog IP available on RZ/G3E SoC. The watchdog IP available on RZ/G3E SoC is identical to the one found on RZ/V2H SoC. Signed-off-by: Biju Das Acked-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml index 29ada89fdcdc..3e0a8747a357 100644 --- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml @@ -75,6 +75,10 @@ properties: - renesas,r8a779h0-wdt # R-Car V4M - const: renesas,rcar-gen4-wdt # R-Car Gen4 + - items: + - const: renesas,r9a09g047-wdt # RZ/G3E + - const: renesas,r9a09g057-wdt # RZ/V2H(P) + - const: renesas,r9a09g057-wdt # RZ/V2H(P) reg: From patchwork Wed Jan 15 10:38:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13940284 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61EC5241684; Wed, 15 Jan 2025 10:39:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736937576; cv=none; b=R0uw9FxUgzYHqMt3jwojB6yzktKpH2TCoc9hxn1yoWzYwxpSkvkGGiWE1AIGtLtc7W67cZTKIKefLU3a+5M5Abk4e2qKsbSCgOAOc6d+A1d15uR5e2nfSqt52/jfUDjwV67ihjKiz/tVce26GamIqFCOgqeGKGRahDtJSX2+qn8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736937576; c=relaxed/simple; bh=DIdC8JmRX398dfENcqSIXkvY+Tkv7BlV11AYZ4Doo8s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qXuV1RWzrbqTgvBVQmY/BlwiSTopngKBUtOi/0/A7vmxp27wLQGkkHHtruwpVW+Wn1odjSA4t5D5JwCJMvP5Z6/jdK1sH/8NNqNeqs/wtt0k0QGaaEoqzEqnq5b3cunh9n9j2gAZlNuqt78JPiMVJjU3+k9SCalfWqgOhhCcdtA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-CSE-ConnectionGUID: L7g5iA6MSEmyVqeMIYeFkw== X-CSE-MsgGUID: sAyVCU6WQsaMx2bjIi0ghw== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 15 Jan 2025 19:39:25 +0900 Received: from localhost.localdomain (unknown [10.226.93.251]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 6CB13422D9D2; Wed, 15 Jan 2025 19:39:13 +0900 (JST) From: Biju Das To: Wim Van Sebroeck , Guenter Roeck Cc: Biju Das , linux-watchdog@vger.kernel.org, Geert Uytterhoeven , Prabhakar Mahadev Lad , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH 3/5] watchdog: Make RZV2HWDT driver depend on ARCH_R9A09G47 Date: Wed, 15 Jan 2025 10:38:52 +0000 Message-ID: <20250115103858.104709-4-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250115103858.104709-1-biju.das.jz@bp.renesas.com> References: <20250115103858.104709-1-biju.das.jz@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 RZ/G3E watchdog timer IP is similar to the one found on RZ/V2H. Add Kconfig dependency for RZV2HWDT driver with ARCH_R9A09G47 and update the help description. Signed-off-by: Biju Das --- drivers/watchdog/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index f81705f8539a..646a84cc03e3 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -963,13 +963,14 @@ config RENESAS_RZG2LWDT Renesas RZ/G2L SoCs. These watchdogs can be used to reset a system. config RENESAS_RZV2HWDT - tristate "Renesas RZ/V2H(P) WDT Watchdog" - depends on ARCH_R9A09G057 || COMPILE_TEST + tristate "Renesas RZ/{G3E,V2H(P)} WDT Watchdog" + depends on ARCH_R9A09G047 || ARCH_R9A09G057 || COMPILE_TEST depends on PM || COMPILE_TEST select WATCHDOG_CORE help This driver adds watchdog support for the integrated watchdogs in the - Renesas RZ/V2H(P) SoCs. These watchdogs can be used to reset a system. + Renesas RZ/{G3E,V2H(P)} SoCs. These watchdogs can be used to reset a + system. config ASPEED_WATCHDOG tristate "Aspeed BMC watchdog support"