Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2880424rdb; Mon, 5 Feb 2024 23:52:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEv/ILGH76U6MWKgS1n0ZoUC0kT0BLHmgp+RjqhrCwhHn5w6QvKgkLSSvK2SU1f5JHi4Ng+ X-Received: by 2002:ac2:4a90:0:b0:511:3a11:166c with SMTP id l16-20020ac24a90000000b005113a11166cmr877162lfp.34.1707205936417; Mon, 05 Feb 2024 23:52:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707205936; cv=pass; d=google.com; s=arc-20160816; b=hdMJRRWiVpzmG2gyjUt2yGP1SGhfKQYxLpkImPRuvGGOG6EjIWLw68ap7//vIpXkqx GBOenySNi+vML6UEYA3WSHKjTxOFMOPv0qMoVXBAwTntjHfSHm7DYPN5Y3AuRrBemito /ZZKt+HyDbBpg8dUqlxPWJz/x2x3213uchcTlMPbK5D9lWPyXkIBtW3DMZcZyaxkbm7m FQYvix/JFCRtRXMKNzujwTJEkXgWoeCuZ540QqbQ7RuVeDdbi9mquM1P09OTgLRniVhB R/RFEDZCQpMlRZwR5/VDW2O/g2HMNXeb0vhHu5KgpCiebr1MGpjJYzPiPYEW/PuDXnnc J8hg== 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=MHuChVkazsHDYwoy1Hiy5LrN1UJx2gkrfgcOs8CBKxg=; fh=4zMTWVU5NhQECieSLFDKhIwfZ6jv0n6TWVyUu27y4CI=; b=J4itjA0TU06+DIeZGav5g/ZM6Dgo4kzldich0xmSyArYP3iD2wksW4rmCkU9vI/51i EFp7kYqXkvIdJB4aibTvTSv8lvTeNG7++HuDGw1dEC9f6RdZwj6Zn9k9SJHonk4BGeYt rCKUGSfT3oTnvQHmv+/eaMeOYtCCqzqDMPJ5z2EE5KVlx/DlVt4ZUaNImAzzeVmmXFiu zWkIWLS7dAXVMu2awHBM4+3EVdzOXGkHsc9C5QJU1nbi7gZSOUYNQn79ctFDN4nYindn 1ku+XNHYdC/5+Nw/gmV6ZPw/7e2UCdUIDj315SI4YvaqMoFNZ0uq0agzolfc8bumcdNG 2gJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=P6FwqO1m; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-54438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54438-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWn/muS/jKteZs/DwXKgM2RBXGTPaaTbmWdo8+ltjnv/YjJj0QTowRJdE3xSCFFvFGtrmzWHC3seCMn1vWh0FWl6mWkLz/D8rpuGZUU0g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f22-20020a170906139600b00a352bbd232bsi789249ejc.74.2024.02.05.23.52.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 23:52:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=P6FwqO1m; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-54438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54438-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1B8531F239C4 for ; Tue, 6 Feb 2024 07:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD7C912A17C; Tue, 6 Feb 2024 07:52:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="P6FwqO1m" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 15B3C129A9D for ; Tue, 6 Feb 2024 07:52:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707205928; cv=none; b=ZA2uk0l7wZhHVZ/XHhPY8Z/MaztMvy+HW+egnge2JXgkKu1MaN0CEL10qNh0Dpj4b8h/U4Fb4npHSogKoLXuJcgftsbfdzQQoLpDUiMJwxDItzis4BPN+aH1+j6xihe55MkixqVIs9WnaVdh334INwN9S+DSBtVZ3uYjiYlCOzo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707205928; c=relaxed/simple; bh=DvQ1sczGGkq58WRMl4pSS1bo4UgCsyILWKb+zlEciuE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=UxlYqHvAs950qsXCFvzD4m5bMWCFtRv4ZMycDZjKaZQye/L0UOoJwiPgq9omZ3u+9YnikOEN4EuG2Jr0VO6nxnf/o2nQbBpu+65d0WkTfXcLb22u5hcg9LQmKcmfDMOhckLeSkjyuc22NpwXfXSYzyQbcYPWEirVj3L5d6f7/bc= 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=P6FwqO1m; arc=none smtp.client-ip=209.85.128.44 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-wm1-f44.google.com with SMTP id 5b1f17b1804b1-40fe6c66c3fso1327725e9.2 for ; Mon, 05 Feb 2024 23:52:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707205925; x=1707810725; 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=MHuChVkazsHDYwoy1Hiy5LrN1UJx2gkrfgcOs8CBKxg=; b=P6FwqO1m83t6SlCpU0NE0+0lL0G9SD7h+ZBtar6c6PcLzApfzDa+63zqsaf0X2uZL9 k1gOxeEsYNG865piNeHynDiDba5KNxBaPQ66E3ebOTv02Ip3R3JHVDZjffc5YT6Ts4UP ZBI8Fau3kM/R/jy053pIswMPNzI0KJIsjop2+iX6d/klu0ye6P5VWYSSQ7KmPYslwn6s ySxTp0AWykIkX64SN2rAWoMydHkURZsK6/PK0uXI3Gb6OofrEUVyGw1q7+K7hZlYRdtg q0gwFbOl2qYfpkicUMwUYJ4EA6lQRk/VLBmm6Ci6qVQ0olArw4oa9U2w7oaHvLPoU/pK 3PIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707205925; x=1707810725; 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=MHuChVkazsHDYwoy1Hiy5LrN1UJx2gkrfgcOs8CBKxg=; b=qSwk/dE/vq4Ue2WLzvyDW3XXgZQ7HMOpKVFDGZvWIg+SXpyC8BtKiPScD1068DNO62 1F15ut2+Fa/v1pKwo7KHjKF0QWOys5CUlxPPJT7bXcC6Ei2wDTNBmTrbyrOD5g3ggypl HU5e+yzhNsyEswxWNfS2cJlaqGoYzPlQUILwdO2xK5oupYiR6dZhfqhWRvF3Y94lY1l4 mC0jN6y/6j4skoh4hfkhjgfMbBTO8QbzQq4cReF2eobt19ngYx5JRSmZ7YABF3qD9Vv3 6m035hJWy490nyYxLzisIvtA/0urGK7t0vIyRhkaFhOb3EzcybvIJ3H7EU8CTBCIcWfi /wtg== X-Gm-Message-State: AOJu0YyKtwe6V3bppH3OnEGNfFWTTsxZL5jpie3WumYyeqm1Y0cRaWB8 LkAas8AmZvsK7YkchzgcE8fmxJejyqeLZHRP0K+NRSszRc/N8hvadUByY1Wis/c= X-Received: by 2002:a05:600c:4f08:b0:40f:d598:bdbb with SMTP id l8-20020a05600c4f0800b0040fd598bdbbmr942878wmq.11.1707205925116; Mon, 05 Feb 2024 23:52:05 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXQd0XxgUfTQHr182zR99QllPWjQ5Lf478awjZTn68xLCZ2fyFS5zErrMkcf5cMjymRAJD5oKqf4J5olT0zg/tjc4quJ5RT5xvdbMvSjRKS+v9+4cuyD8WjpjQRnKX1RLyTx4uLNgjIx5OlELUApnlwDFK9A1AbmOm4J56pSn2RQaBFia0vOVdMKdcCccPhg3G3XLnZX8g0LQ3966IN8HUOhJpuRPuYwhYbO5kbR1JpGmoFJZHDvkVANXR/NWWVZPzf92+UEpLGwJ5BD2qtUpOI8VN1Q/bP1Ns5EJFl3BJQwdDiNMRKCNlNM5EZoGyjy6mxBsuSbc/6ImSDYd5rBBV+l24yKFIVbcs0fyywUPAP/Se4shtx6kCL0pQevllBTawtwF++pthb+m/nYA1kMcskb8eoXVg5ur8ndu3OV1x73eM09YuzbmkuZiNp4LLlgdKMmbVakVHabqKLIEokMv6Uup/mCAOknyUAf3UsbyN1jooRbZZY6Tbf4n8tl0jN2qWIub4zHjaiZA== Received: from claudiu-X670E-Pro-RS.. ([82.78.167.154]) by smtp.gmail.com with ESMTPSA id j32-20020a05600c1c2000b0040fbad272f6sm1106843wms.46.2024.02.05.23.52.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 23:52:04 -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 v4 0/9] watchdog: rzg2l_wdt: Add support for RZ/G3S Date: Tue, 6 Feb 2024 09:51:40 +0200 Message-Id: <20240206075149.864996-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 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 | 2 +- drivers/watchdog/rzg2l_wdt.c | 111 ++++++++++-------- 3 files changed, 63 insertions(+), 51 deletions(-) -- 2.39.2