Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp476346rdb; Thu, 15 Feb 2024 06:09:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXdXcciEJUvMNVI2t1FSy0fi5MpC/mfY2Gge46R1E4Qy6fvitVkHue1PhftWESY5OJ3nAJqDUc31TSrUuk1iK+lbBXqu4EtjyvwP4f9+A== X-Google-Smtp-Source: AGHT+IFIUo42K62AL/dZQr/4E+sfAGJxTU5jPPSVWVOo3po4ZOIjcXbMXe09s4crcuYyU0NdXlaZ X-Received: by 2002:a05:6a21:3a44:b0:19e:3b15:2176 with SMTP id zu4-20020a056a213a4400b0019e3b152176mr2457966pzb.38.1708006141218; Thu, 15 Feb 2024 06:09:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708006141; cv=pass; d=google.com; s=arc-20160816; b=fTXDD96QtG5L3LcUsR1oDx9rsJ6O4PXQEx3aZe9/4xuTeBwGT7DErGmnnnHkmvVsR5 XaFMYNxV38ktKctV6oiNYlC1Io7zfiNc8QJbUnlRL/XJQIZcdTnjsevyZ3p9K7WI+3/W W7Xal2d7f+F8VRpbW2qkVRttKecLr4i2Xw1nh73e/lwratY8/7B8D95S99nMbcYuKJUW dPCYbpmrajEGyv1/69k4PTzOmdo8rrK277Czxxe1tZ1sZhUWt9khVDLTje7ROizCrUeA eJOr+Ggy1VqjD1Ssc336Vts3Dwb7ZFJyUxqKysNCmqdDuLZyNy1SzpVYZRe1+tsgAxwA 8DUQ== 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=df2ADpZm3CQ1dJL2XNQWBN6OYrn3i+pXZ1rw7MP/SYA=; fh=6HYFPDXSoSCOx1L307i/dgdSAGpVktHyFmtYo4uRZDY=; b=vvsPtcBMAibd3RVhgminDuOQ8ekjo8nK4Vjzlh6ya/ODr/aSX0GBl12jGfGznyoRgS oVLp370X5s2/KubL79+wU3vBefyozjQ5gcWbVK7gZ0U6v2HYCxtjyRmXa0NTq5Zg0OIh Qgofx9/P4kPg1Ff/oJ5kFXIxFhHTp0pFAp92js9Li381Qff4BEHHxLz2t+fLpSyRwIgR YtshTckXX1NhKu1lMEwHshR3Pv+IoFEB23lsHfW32GNS59qFJpH7RbmPaUZFUtxY4FCv IX0CT7BWKzpI10bckZHPuiaAxDADkLRUAAhTD8GA/lnUbOvh5WKH5Kg+IQCKaQcwbsLq as+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=YvCDdk2a; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-67049-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67049-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b6-20020a633406000000b005dc0b1b0116si1162131pga.119.2024.02.15.06.09.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 06:09:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67049-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=YvCDdk2a; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-67049-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67049-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 E907429557C for ; Thu, 15 Feb 2024 14:09:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DB41131E31; Thu, 15 Feb 2024 14:08:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="YvCDdk2a" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 6D31513173E for ; Thu, 15 Feb 2024 14:08:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708006133; cv=none; b=BroWR9ZyYRVaSofj/0bQ1RRn/eUO1BfGFBI83+87Myr0+txfu+II87GGRE9eqLZ/S1gI8x7aQ65OQF8TLDol1V3yevJgjwkZmVgvsluvPfclfYtWzS3hYYd/uDmAle83BQnoMjTDazo7DrAj6OznIQWIE/awUvqWPBygVNUiNPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708006133; c=relaxed/simple; bh=L8O1mWWSllZ6RlPqEmnfhMz1g4yePzxQNQ5ZXSD5H4k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=D4u6UnpjcyZWaIPJnxEEVH3r2+Qh4ktKdJgn1AAm3a/xb0/WFa64ADZHG1fr4J5viDScBvxuN/AzsIxxPsbfTy+HfMjnx+wdj3M5fyYCHTotgjqjT0I5nLuYlFz2PA+N0TNWPv6G62FO8UIykM0nUFhIPEJbLC0Vqn+Lyo87ARc= 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=YvCDdk2a; arc=none smtp.client-ip=209.85.128.46 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-f46.google.com with SMTP id 5b1f17b1804b1-411d715c401so7205425e9.1 for ; Thu, 15 Feb 2024 06:08:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1708006129; x=1708610929; 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=df2ADpZm3CQ1dJL2XNQWBN6OYrn3i+pXZ1rw7MP/SYA=; b=YvCDdk2aCJAQusvsKF3K47i1nP62Te91CGDkhEmPVhZ05+DYgpON7i2M7DuRRS53Eq GErXu5BqO3pzV+XwhsS8lDh5jnWIBXz4xxQeXGfCvFH3ZkrorR28rtPnY7yo6cwwCVF+ krHUQ8EcS/gGfx9BAFI8/gIMCwfOjrWU4lpbAb/lWNI0rhCWX0vIePiY6beSE4cgIJNV fsjuM2dMc0LCAid11jpso0sRHrCOI5TwA7IKt/HV9s14seqC1OA3MHXZqsXvSl1u/KQe 4MqWgtzd8+Pt/ElkFyXyVJg7QvponK311HKlRvgX8dBdINn3LZGxx0YmIj99/VYnwjjq 6Ovg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708006129; x=1708610929; 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=df2ADpZm3CQ1dJL2XNQWBN6OYrn3i+pXZ1rw7MP/SYA=; b=QnLpWroJ+JWlPCXEYq1lSGMhvYaCxk7SbVhNf804PbcEL60YW6UBu7YX3omrfJ2zkV lJGvQyPrlNPgtICu9kHeQN908gUAGXYnIAcLHly3OXpq75iZhSsBQS2MSoXfFMcKqI14 rcU+0lJBgkLaomfxkuX4CZU/oNFML9fHZXNjdgfexwRjhlyD+YZ562vUALvKzXWr/5gH XRMWUK2e9HJhfV+NjWF2yTfHNFPAI+oLdW6nPI9j7Ln1Y4Us5RorenNKy0HqHtuHuOq6 kfW836wfB89e9BnI1+JkfGsj54+ErvikuiDYP6kZCFFhCDycraRlH0lYSRXuRyWvXOPQ ro9A== X-Forwarded-Encrypted: i=1; AJvYcCWAxJZUgJzLHTc/a0g8drI0pPzVKVij+BJB7Raeilp4BKS4yhZDjLKJiTbx/EHVDJjFUNqVAUfkocklSLGYKWaqAirqQyko2VIwTds6 X-Gm-Message-State: AOJu0Yy0NhljXGbFtRgqp84PQkqv1Z2gcRHzwPS31SOLkcpYA6b1Fgx/ u+Mq/iaslbQj3IytYWeNFdfButhvyH/zAvJZzx00Y3V3cYR/BlgNAC4waXW0D6U= X-Received: by 2002:a05:600c:3506:b0:412:1f3f:db1b with SMTP id h6-20020a05600c350600b004121f3fdb1bmr1094223wmq.3.1708006129570; Thu, 15 Feb 2024 06:08:49 -0800 (PST) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.20]) by smtp.gmail.com with ESMTPSA id h17-20020a05600c261100b0040fe4b733f4sm5120950wma.26.2024.02.15.06.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 06:08:48 -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 v7 0/9] watchdog: rzg2l_wdt: Add support for RZ/G3S Date: Thu, 15 Feb 2024 16:08:32 +0200 Message-Id: <20240215140841.2278657-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 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 | 111 ++++++++++-------- 3 files changed, 64 insertions(+), 51 deletions(-) -- 2.39.2