Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp263635lqh; Thu, 30 May 2024 23:58:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/ENKxWq/EMwLtXFjsRrGsItzzb7b14zFcwBwC/Zp/GBBSMsvCGPuyXS2Si9yK3cKCtoEyFfiJkcEa57MdE/c/Ab3Dppmk19AdYj3iPA== X-Google-Smtp-Source: AGHT+IFvcy18M1zS//lnAKrXk25QigwT6kSy98RDVVhjMtQXn/YA4sE1BK2vV6LDbbHqF1Dq408M X-Received: by 2002:a17:903:2448:b0:1f3:4714:3d3f with SMTP id d9443c01a7336-1f6370b1281mr12479405ad.53.1717138681770; Thu, 30 May 2024 23:58:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717138681; cv=pass; d=google.com; s=arc-20160816; b=HeJrZeETRQEVfnfI3Ozs1ApSWf8kaQOiwEIfSKUIWFziBEEOjtc1lY/oZ7pwhW1PC2 BMNPMi4Q4iAZRLiOau1eqxpYRjWheAys53mfWSH358GCOiQNLWQ6y8WB1LEpbV6HIJ4v 2VwfrXmGeDvKOQJqnqxrl00v2TygjKWwDlPiYwTBjJWM/MkmhO8IDnVlPJkVlRjW4+PB jGMQeYrJO8ZZlrAw+BqvgqDDODoBeajSTyZm2p9LhKy0OlOLaT8kimJ/Aq6F5ydNRk2S aHpqZs4h5EKKzEPUEXY7Sm30CRvpAXDYWRl96onNcYAdFFHp60z2BW/xrYSRhe6jPJoS KwYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=56EGmWH9L29k/ghjMWDXEhOzEmTvPfbWJTBIWdqS0Ww=; fh=xAqUGNHp8kZoag+t4Od9sR+ateynSPStHjnirew8s9M=; b=MORCDCLjSfAP53jCv/FqL0HQZSF6G0qgzzTaeSIgw2QOmqHjXfGaeN7ygbAoQVrrWY jR1/qzl54xoxlo6ypru4FVFCcPfTtZ9qGMF56n46CPY3EcTpwYn/KYWa1aNRg3YQdI6M 2Inf+Mep4YVrSJiNdVSRI7OQCgYu1hM0bZRms4PZk/5sBPdr7G0uPDELS2ZJei7e85CJ +jW3trkWlVDe6em2zQN7AUNWnF85izQctuVT7LvAbkD/uDtgE4ABOCIIlTQg6MDVz0oi cVtt9bCXlcGtJAkytWEetMPANz/UmwL2hZxK4XMawONgQBqBVkqIKiUESypULIzV49jO 8sLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Y1gdKvd3; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-196375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196375-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f63233d63bsi10502345ad.40.2024.05.30.23.58.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 23:58:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Y1gdKvd3; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-196375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196375-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3783B2858FB for ; Fri, 31 May 2024 06:58:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8172A80C04; Fri, 31 May 2024 06:57:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="Y1gdKvd3" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 2AD2C8062E for ; Fri, 31 May 2024 06:57:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717138671; cv=none; b=E28jvxvrh6eWdcXJLzqkB2bQRPU0IDrkb+B66ufRuUysVhszLzIvjWxKTT+YVu8JvlcmAFLZBs/P5TDMXNOir7zWLyUK+ShFdO+lW0BQjG1fUB7b4Tj7/CG8pN+ag+nezPOI9qpfOOmZG23ghO0pxBWsaTCWXswBHDGNlM+C1wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717138671; c=relaxed/simple; bh=KgMx0i8jbWHauAAxmwUFPZ7zQN5X1U/Huq+oKN2DlV0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=C5oiK0djNVXEOpDfBh9vle6hJIVgnoq8Y8wR/mVa04sCyPBF8Cy/oZcj1/zSpVsDGk33E02zPMRK16nrJFfumSAGii2SpNz713nZhIpYfAtsxbqDZ/e9qB8CpHi0hBhxiMCYcpL6GgnqjPnFIPoARxdx4dKmbBwCQhXuKGKgW2U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=Y1gdKvd3; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a6341cf2c99so171037166b.0 for ; Thu, 30 May 2024 23:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1717138667; x=1717743467; 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=56EGmWH9L29k/ghjMWDXEhOzEmTvPfbWJTBIWdqS0Ww=; b=Y1gdKvd3O1JF2c5uXFqsUwH4RcyRJyHJBx88w+lKFm+YaXUsGvN94hDFjgbA5YgWuG HXPZh8xErNOBiIV3/HHqClsYPxlqDmCwYHpUPE5L1KiA6gBO6up+Y4tpXEL2QQ9pHNgS Hkp/Jehk6ZLqQniuSnZ0++7nVMHMLMDYgwrhrlhWEIB3PZv4zqeW+h5tsdYU31DimZYv WvYJm/7yNxjvwsdBYh97/ki4d5D58Bk5sN7Pn/eRDLu4JCfS7qqmMSuD9PAgwKQJ70KL NHZ9vFJ/k5C+IupHH3ajrcOkWOXatK2YLeJzseaI8rOyVd0fhBzqxRkSBWBhUdlbUAiP 1PWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717138667; x=1717743467; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=56EGmWH9L29k/ghjMWDXEhOzEmTvPfbWJTBIWdqS0Ww=; b=p06jQvv4fGDwP1PieOjM7cOMNpkhUqc5nOxXhzFm7N8P7DKqAF4CuUcTkyjKoAbCfU YNVBL46ayQlwrz6J9DSO4rixCpuHP9MPBd+Qd5LJ5CSX/z62Kw7DlVetakyqc5Ixy25R 0keI2yfTvaT5N/rhf6GrlvyH6wavskSaKuiQsirm8qI1BLunsS11LspxzXB3lN1Rm0+Y qUqf+m/5IswytO4bZbUhAY/sWEFT0qZtCh1YPDqWB7FuOC+kXJQ+HxQA6Jcl3eKDKXqb rRBgvnB7c/W7T+Dohy8bcaMMp6sdpvvDOgpcBowLoKOPE7c8MyYYKtguL9VxeSeRUFWo h3UA== X-Forwarded-Encrypted: i=1; AJvYcCUVLAxFPIA/PtwHyJS46Q2LBWW3cut7nnuHe0xlhuICzSA2IOM37HIU2W/24ri3TEp4rWApAZzFy3/JKLXsgScTQJ9NpFBV71VVMiE7 X-Gm-Message-State: AOJu0YwJw5U7oSvKXZ7V+8FFuASjw+HupbbIXLhmwJBNytedUPQXLb7d BtInCQVoBqJcAOhMOHZ7tWfwKSDJ9qx/etPV7EMZ6GXS4lUIQjKtfSQprOxfLXM= X-Received: by 2002:a17:906:2409:b0:a68:892c:ae22 with SMTP id a640c23a62f3a-a68892cc8c8mr19727266b.40.1717138667289; Thu, 30 May 2024 23:57:47 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.157]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a67e73fc1a5sm54205566b.53.2024.05.30.23.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 23:57:46 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: wim@linux-watchdog.org, linux@roeck-us.net, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, p.zabel@pengutronix.de, geert+renesas@glider.be, magnus.damm@gmail.com Cc: biju.das.jz@bp.renesas.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, claudiu.beznea.uj@bp.renesas.com Subject: [PATCH v9 0/9] watchdog: rzg2l_wdt: Add support for RZ/G3S Date: Fri, 31 May 2024 09:57:14 +0300 Message-Id: <20240531065723.1085423-1-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Claudiu Beznea Hi, Series adds watchdog support for Renesas RZ/G3S (R9A08G045) SoC. Patches do the following: - patch 1/9 makes the driver depend on ARCH_RZG2L || ARCH_R9A09G011 - patch 2/9 makes the driver depend on PM - patches 3-7/9 adds fixes and cleanups for the watchdog driver - patch 8/9 adds suspend to RAM to the watchdog driver (to be used by RZ/G3S) - patch 9/9 documents the RZ/G3S support Thank you, Claudiu Beznea Changes in v9: - dropped patch "watchdog: rzg2l_wdt: Power on the PM domain in rzg2l_wdt_restart()" until further clarifications; this will not impact any behavior as the RZ/G3S power domain support is not instantiated - on patch "watchdog: rzg2l_wdt: Remove reset de-assert from probe" call pm_runtime_put() in case the reset deassert fails Changes in v8: - added patch 9 - collected tags Changes in v7: - updated the dependency on patch 2/9 Changes in v6: - update patch 2/9 description - fixed the dependency on COMPILE_TEST previously introduced in patch 2/9 Changes in v5: - updated description of patch 2/9 - simplify the code in patch 2/9 by using on a new line: depends on PM || COMPILE_TEST Changes in v4: - added patch "watchdog: rzg2l_wdt: Restrict the driver to ARCH_RZG2L and ARCH_R9A09G011" - collected tags Changes in v3: - make driver depend on PM not select it - drop patches already accepted (patches 1, 10, 11 from v2) - re-arranged the tags in patch 8/8 as they were messed by b4 am/shazam Changes in v2: - added patch "watchdog: rzg2l_wdt: Select PM" - propagate the return status of rzg2l_wdt_start() to it's callers in patch "watchdog: rzg2l_wdt: Use pm_runtime_resume_and_get()" - propagate the return status of rzg2l_wdt_stop() to it's callers in patch "watchdog: rzg2l_wdt: Check return status of pm_runtime_put()" - removed pm_ptr() from patch "watchdog: rzg2l_wdt: Add suspend/resume support" - s/G2UL/G2L in patch "dt-bindings: watchdog: renesas,wdt: Document RZ/G3S support" - collected tags Claudiu Beznea (9): watchdog: rzg2l_wdt: Restrict the driver to ARCH_RZG2L and ARCH_R9A09G011 watchdog: rzg2l_wdt: Make the driver depend on PM watchdog: rzg2l_wdt: Use pm_runtime_resume_and_get() watchdog: rzg2l_wdt: Check return status of pm_runtime_put() watchdog: rzg2l_wdt: Remove reset de-assert from probe watchdog: rzg2l_wdt: Remove comparison with zero watchdog: rzg2l_wdt: Rely on the reset driver for doing proper reset watchdog: rzg2l_wdt: Add suspend/resume support dt-bindings: watchdog: renesas,wdt: Document RZ/G3S support .../bindings/watchdog/renesas,wdt.yaml | 1 + drivers/watchdog/Kconfig | 3 +- drivers/watchdog/rzg2l_wdt.c | 113 ++++++++++-------- 3 files changed, 66 insertions(+), 51 deletions(-) -- 2.39.2