Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2414082rbb; Wed, 28 Feb 2024 00:33:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWQakqm4dhZg9Egqh3y3eKDAA1aomj2nnqUohE81Oh7Yq8FXZLv2fbr843/JZg4DA39acho+84wbkUFbJWL9+DUeSPG1a767GQT/2/0Eg== X-Google-Smtp-Source: AGHT+IHPdLexu6LKs5JuWAaQVQrJqQpTCKr/vHTAwVNT7ovVb7DhojW//l1VQ9cAfbCKloa3/tX0 X-Received: by 2002:a17:90a:7890:b0:299:36dd:15d3 with SMTP id x16-20020a17090a789000b0029936dd15d3mr9237027pjk.27.1709109212827; Wed, 28 Feb 2024 00:33:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709109212; cv=pass; d=google.com; s=arc-20160816; b=PGfomt2pz4ZxLVqJ2ercwGl5/Ke2M+hlgeh8+tjwcGQrm6sZ/Q8z9+U80bi3gtnpyo +JU6AvhcG3PHIGw6tc4cwMbaCbo6kVYZgolLn5JDtUzsCpTgJ2QIKGmzad+fNNofXLvr lrf98IaGwIYueE7ZZiJOhQf6GZUE90BCKj7pHpgILGGWc29W/dwLXraVwiCFszP4oAhp f1hiFGh4JEZcPjPTZ88mXalab3Dxs5SS2zxOsEuJxfk2LL8kHYgz6Hva8zeXCazbD79n HFuW8uYPJJcBIQ2u1M3F2ccFkyL1N78azB5Mg7vjQvhYrOs9lbpCsWNN1rdjF19r1WA/ XJ5A== 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=yBZ2rZoeK1vPw/QA7FLPO8LSa6g3zo2lPvoS2UqE6EQ=; fh=j/ggRHpfm0UVIxHFRxz2DoMuuPf/Ip9Fn5UoKvq3Qqk=; b=Jf4x6L9Ey7EgPHMFb+Wjbbca96byHsyzZHzA00wDJEB8oQvVhIcyVKMtRbV07oEK3I l1JHHAVPEbCiGn5R29xD1tZ+4LtJrqhXKqwDdvrn9DTegu5dCRJMFW3cJXZjFi/mYWOb tAVcY+XrNmbeB9kcE0CmY+TapfuLnpwtt/w7WVHkumJj7nk+SBP48uCNuGlL5sW3t2kH w2qt0z8+CpmZ42IOoznpieFWR5pWhUaq5Jfiez24WZYrQxotIWzVTg6g5ANb6MAGWQcn kzP2jZjeIcSjIl2OtqJJxgTDnt9TExqBBPUaOvBLK8Usd1AdFfwabqCj8ybHjo2nFIiU +riA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=lEk+o0Ae; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-84676-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84676-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 me6-20020a17090b17c600b00298e0ec7379si966276pjb.162.2024.02.28.00.33.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 00:33:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84676-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=lEk+o0Ae; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-84676-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84676-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 828AA2897B6 for ; Wed, 28 Feb 2024 08:33:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C61E82C85D; Wed, 28 Feb 2024 08:33:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="lEk+o0Ae" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 419332B9B7 for ; Wed, 28 Feb 2024 08:33:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709109198; cv=none; b=CF3QvUdxpge2qcwS6LOpHUmZzFmlyLyjkmTwFmI7CxVixI52KTOBzaWoBh0g++/mHsZKQZO3PBYnNn9Tjmvmt26yQl80DSNZAxqzzOuYPbvrq3OGUVUYATatKRBGnMNOaDHLVWEPo218wNClh5Y+ihFdAPokziwZqtXbSq4i29I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709109198; c=relaxed/simple; bh=Ta2sUnIiLlpyDoRPXV3QRmDaVXo8Q8J/r2XiZcnzHvk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Mm+uGDEEODJUe0j0zxsz0tVqthg1ZvrblR6s74avTj+aRFfXkt8JVqJXNXiAbk55mQhkIhIEIzxDptld58xADIidETiFWaMFhJHPPOl6eaBGSdV6YWbogZzWU5zYGJS1Fwxq6JmIry9Ka2oZr1o128ORqizrUaozCHmp8Sbbwuw= 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=lEk+o0Ae; arc=none smtp.client-ip=209.85.218.53 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-f53.google.com with SMTP id a640c23a62f3a-a3d5e77cfbeso109043066b.0 for ; Wed, 28 Feb 2024 00:33:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1709109194; x=1709713994; 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=yBZ2rZoeK1vPw/QA7FLPO8LSa6g3zo2lPvoS2UqE6EQ=; b=lEk+o0Aea4mIu9hlU26NzEgOW8jau9AM1UW7WbAOB0Z8DyokZ53GxLH6HPl1tH7MER zN9s3UmGZ773L+r9jpphuBoh1/mr1337JOPbp/JdwDMHZhNiaCb3fO+uDEgt9Mgy3D9Q +RfNzmIG7me5D9q06+pTpf5zbQftGqlL3SCCDRS7t1VMOikny/1WPwPBcgrvFkipeQve HB47++WO9HffQAKhYWRmbF90ITqCLwEQWgn4CyCs5KcF936SldCk/wMvjQkmmDU2/Mjq 10HD03M2VFlArzyXVfeFYV5DRVEHeGxq0RN137wFC/P3Uthu/tqUX3QDniE6IfSmN4az NL+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709109194; x=1709713994; 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=yBZ2rZoeK1vPw/QA7FLPO8LSa6g3zo2lPvoS2UqE6EQ=; b=mjpoFSherY592jDrqiLuQqEYNK1TSD8jDJb6jmGlX8y1AgMDpRcE5EX+Xrf85s6w5s tRhK2C6U6z9tjw9b9hoJPysZSoNf5GiEOEjrA+glxOsKS7gVRZwD16WihIn54ED58vbz 3o3yjWqWEgTXtIH/PWerAyoiB+JJSrZQSHvW5w8qx7e1Lqz8SfhkbPHcbu9brlC5bz8A 6nnOXV1u0AMz3udJCxMCsMvnwyaQRK5EAkFwelzxpfeVZ7g2RNKkR4yiFuWOMnyPjdrm GeTptYueaB0Q4XgWaIMIhQBxbn8QHYC7T6cFSaG6bKoD+7mh6WbwTkvNihN15qayxwS1 feMw== X-Forwarded-Encrypted: i=1; AJvYcCUJqhwy9N58hiz7la0BMkKTLv2DvZQ/BZnIwRA0u7ef6GiGR88C+78Ar4Wvh6l8W8viLVRFHO5qJQ0m6Updkks2CBdP0ptsNouodD2Z X-Gm-Message-State: AOJu0YyoF1K52DJJi8ihboNj7dz3QR8FxNPCMGDBiXKmAYGIn0IJB0Ad t7/DfpwsoSEmKpC0AyECQkYY2NumSHOc9C3PqOlKH2Bxr8ZlHQsxO5w8RZ8YxrA= X-Received: by 2002:a17:906:4a17:b0:a43:f924:d65 with SMTP id w23-20020a1709064a1700b00a43f9240d65mr1039966eju.26.1709109194460; Wed, 28 Feb 2024 00:33:14 -0800 (PST) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.83]) by smtp.gmail.com with ESMTPSA id qh16-20020a170906ecb000b00a432777eb77sm1593987ejb.60.2024.02.28.00.33.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 00:33:14 -0800 (PST) From: Claudiu X-Google-Original-From: Claudiu To: wim@linux-watchdog.org, linux@roeck-us.net, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, geert+renesas@glider.be, magnus.damm@gmail.com, biju.das.jz@bp.renesas.com Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH v8 00/10] watchdog: rzg2l_wdt: Add support for RZ/G3S Date: Wed, 28 Feb 2024 10:32:43 +0200 Message-Id: <20240228083253.2640997-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/10 makes the driver depend on ARCH_RZG2L || ARCH_R9A09G011 - patch 2/10 makes the driver depend on PM - patches 3-7/10 adds fixes and cleanups for the watchdog driver - patch 8/10 adds suspend to RAM to the watchdog driver (to be used by RZ/G3S) - patch 9/10 adapt for power domain support - patch 10/10 documents the RZ/G3S support Thank you, Claudiu Beznea 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 (10): 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 watchdog: rzg2l_wdt: Power on the PM domain in rzg2l_wdt_restart() dt-bindings: watchdog: renesas,wdt: Document RZ/G3S support .../bindings/watchdog/renesas,wdt.yaml | 1 + drivers/watchdog/Kconfig | 3 +- drivers/watchdog/rzg2l_wdt.c | 123 +++++++++++------- 3 files changed, 76 insertions(+), 51 deletions(-) -- 2.39.2