Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp234919rdb; Thu, 8 Feb 2024 04:43:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFosDLL+4AhtrJLFiLiINwywXQCDyhe7vtNxtUv+bhglotDdxcfeewz6Zs5NsI77waaBQ8n X-Received: by 2002:a05:6a20:9597:b0:19e:9c5f:d01d with SMTP id iu23-20020a056a20959700b0019e9c5fd01dmr8193187pzb.19.1707396202223; Thu, 08 Feb 2024 04:43:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707396202; cv=pass; d=google.com; s=arc-20160816; b=UsGSO2aQXM/DZ07R5EMT0gEqoDYnp4l32xmC5ytesHPyxYCHHklBEezEFi7UXUZpDI GTVOgvLrsxm6ciihfx7ssDwoO7S70ctAxZy2Jcb4cmicyHMj5pMaEvlszOcbBm2Byzho x2M8JD/+lNGJwrueqr83ijQWkbAenrKhMp8mward+wlcnBTZkPh8ahf2l3cog/bTg7Um JiRx4kg9xL/K6P66kxfFglbnWRQd5db6uDT4jnQcrv0jbSNQeyCrlNOI1GnKr3lYC9ay ucJ+RzfTtIRpt01lRDT3aFehSyAwCtWJ0w46e10Ao8T6TXWNqEXhdPFExTvnkLB0Wnl7 EdAw== 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=UMiRLJAT90vqgAxXHmFa9vUy566zx4/QASUV1IL63DI=; fh=SYQAKlptmawMfZjclm3fSIby9lOieH1eFyqlyzLgUnc=; b=q8XDEe1hWPKsXG3JPkqZhCXklr2o/goUtk0w1ZWzsA2rxosOzSzt3HPyTtEyMTvx7+ aKu83Vx8M71GVqEk/z18WXbdhFQltzThchj+TZgL47b4TWzw/YJFx5zaE0G/4RyrG5A2 S5+WUokGVzX9Jy92yM/wM1h33UiVPyoroYBftWE6vml3OB/qSrKLZFi6Tz2KR8IpDn1c 3qCJ/GFZqxD/Ey3LVP+dEqynXPYy0FhWPw98pQ8Qjsw8eUu7/p0aiq1OQev19aJY09XT QkWk/XqsjgQngLVkgtl0/X6i50511IJcCJzbP5fMe5OExg7Bm8YvxmgYaQdC+wODA4fZ TY5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Iw7HTzt+; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-57930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57930-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCU/7icXeTS+rtKHXUDs8WjD8t/yX18k/p2GPT16QfbRU47f14eQYIDEzMVy9n4CSo8qybsCOB3KopaZekN9cq5SuhprRnaDgB7lrFi/Ew== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id oh3-20020a17090b3a4300b00296256908d3si1289759pjb.154.2024.02.08.04.43.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 04:43:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Iw7HTzt+; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-57930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57930-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 11CABB2A533 for ; Thu, 8 Feb 2024 11:04:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADBCF6F087; Thu, 8 Feb 2024 10:58:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="Iw7HTzt+" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 5EB8C6E2DB for ; Thu, 8 Feb 2024 10:58:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389906; cv=none; b=FV/zbYPFM83z4J4vE3DYRscr6H1AmEo1DyXXbTVhZK8KWI1lYYvA1nin900UCcnZrj5/QRXOAHp78bgmNHi3VvbWl3ODYht+qmdz0+JA7XXhtCg6B5fZy+rex4aOT7PX58kDkjljta2HwAK2YzPhYroHau7b5kFz+6m7WLYf8J8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389906; c=relaxed/simple; bh=uR0oljfQoh6iB/WKm0lAA5t+I2JdXaZjt7gj/Jb+GGE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=bqu7E+Xf3xtQ8YjSRQAOEVPQObQQV7nhJEwzWe/iPQloqAyyzOsXsiDE+30Xwg7rJ/KyHO6IvtxvBwqIms8U1OmFyDjekwkRItvErhf7ZAWvakGy3pBrJDck3eh3rEgx03PZ3hFABiyykMp79Agvjht6p9hRrgSsPYLFCPb1nxs= 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=Iw7HTzt+; arc=none smtp.client-ip=209.85.167.42 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-lf1-f42.google.com with SMTP id 2adb3069b0e04-511689cc22aso2596205e87.0 for ; Thu, 08 Feb 2024 02:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707389901; x=1707994701; 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=UMiRLJAT90vqgAxXHmFa9vUy566zx4/QASUV1IL63DI=; b=Iw7HTzt+qtQbZVltZFo8Cwuur1cnPJ6n5rnrycbnzF4wm0ATNSwUmYOqpoSILtN5H7 7A24UgMHsN5LI/TTMUM3mlkS1Z9pDjnhwnu1NVOY2tKXdtVg7uvwnv74XyHGvuXE4WO7 KEIWvIshfM+RK1T5d30+a0oVdW0YDceGR64nT0tBcIGk6vheRggR5UIdoUMybFTDFpp3 103tta1+YAklfoMLgn+p51nM7QBGIFl3WmnbtEwweYHb6N1MfBkY5/1w+w+jmN4B/TF8 KTefdF7y0RmMLz8rs4swmYRm3fbORfoqXVQg9Hj/iD7CRzbFJNNmjS5Ml7DBGdzGEONQ F01g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707389901; x=1707994701; 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=UMiRLJAT90vqgAxXHmFa9vUy566zx4/QASUV1IL63DI=; b=gSTiVJFfgVFXfoGWbsvzZiZh8rvqWQ8qsPym2ZmRatekcNOUUQ51NV2xd1eJUxFUt5 yA9DvSvWONfk5GHoh9yBImJsNgl4j1ViVr6voITyT61mCjLFDdpysXzviGi7TXA8ahp3 KhjKNr1V8pHJugnxFJ8nKAIIahKgN01Qrfbb5/GDsPk+vkLOvOG8GmzIEcQOz61K/zS/ YgFSuHLs/nz2+j8B0JJC2gVTI1Op+NmbhzwTBLRSAXW7YLYvyyP7rQLr1PBW2ho2ahF5 vueF8SrbtUUg8mueYunzXoAK+P9tnJCGF0Pe8tejYfav5KjFz2zqrpKrK2WxcOXl/1mH tsGg== X-Gm-Message-State: AOJu0YyoWRseYoF1ynbY27xJKWLDkiYluY31srQ9xJ8g5zg55h3XfAjD GPDKuSREy+e7Io7hG2MhgYldVlUR2DcfDR/AqJnn2mUqu0ah6b0BCGtdV/KPOt8= X-Received: by 2002:ac2:5e9b:0:b0:511:484a:dacf with SMTP id b27-20020ac25e9b000000b00511484adacfmr5185800lfq.30.1707389901282; Thu, 08 Feb 2024 02:58:21 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXxa3EjxzfRHUFyD5fIO3DNnW+M6vp5ApMtQ9Vw7UgjlljgfptNSF5+qrzDJQWcaG4QGfIr6kGeHO/mD7ZPAIwRcjEtHo8YvGo/GWWPh3eWGw2tyxam6Yy8t0KJ8pYQ36kuw9tfe/s4PXFvh/yGVsYuZTbU+lL10UPDioL3qFMN70iDVOr+hp626KqeyxovmWGyLCg1CBbtQGz+Y6kBUDndrV2HluDPTlSkOvofL2pxGYG6igjMB7QZqEieNLnuM7EnXV7PzJVFV5ijxeyAkHEeGTiTxqgrht9OtgVVXPSJK2ozpQoW2WaYFuvZtWnqTZ6nmyO5WbyA7lL5AV2uKuRfn/qS/30pC0UIQHNW8XrdsmUJ8knheFVfQKmJfmhhDEeqz6LSYB/oGp9ndYUxjW2nKEcVcJObiZ3LqwQcSNSDOGnOSkf5J+XtZavjvgE7t559nY7SS5qy8PGkw9M/IXw5+EoDv1ZkvwJlCkos7gQeP4BMWdrcaF5LHe7CaCDGshJRArG49+IygA== Received: from claudiu-X670E-Pro-RS.. ([82.78.167.45]) by smtp.gmail.com with ESMTPSA id a6-20020adffac6000000b0033b4a52bfbfsm3344153wrs.57.2024.02.08.02.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:58:20 -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 v6 0/9] watchdog: rzg2l_wdt: Add support for RZ/G3S Date: Thu, 8 Feb 2024 12:58:08 +0200 Message-Id: <20240208105817.2619703-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 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 on probe/stop 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 | 111 ++++++++++-------- 3 files changed, 64 insertions(+), 51 deletions(-) -- 2.39.2