Message ID | 20240207130745.1783198-1-claudiu.beznea.uj@bp.renesas.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-56509-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2213562dyb; Wed, 7 Feb 2024 05:08:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXzuH219rXELFLZk1OE+CZ+7N7LBWUFYJGH11PM5FX4IxoGICdt6nsXf1Db1NVTkc/Y56Qlyf9vDRmXA4qJJ44mdCsMWQ== X-Google-Smtp-Source: AGHT+IFWBehYIGdD0+dJWR00xQBgna3YAyG0jB5LzqTW2AnbOUv+iaLR//H2GEavqCyyGeWXmeBn X-Received: by 2002:a17:90b:b16:b0:296:7bc4:5926 with SMTP id bf22-20020a17090b0b1600b002967bc45926mr2500914pjb.10.1707311300426; Wed, 07 Feb 2024 05:08:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707311300; cv=pass; d=google.com; s=arc-20160816; b=fGVp91lpeE8xtpOHTaryzwXLSl+lMGcB27vECwNgrI+20bYY6PD/i0ubn+9jySdDrj F22iTtWGbZMlwHWLQkRCTwMpNokNA7QblQuXxU6CEm2cUvSfV027f0dElJ4d7X2kuNMo VRsBcjTyjG9Zx1sZTW1zUjUeMNEcQ/IbN9XjCRK0cDQQ085z2LMGUH+/PORngJsIPtfm 94YV5yS78puCg2Tbyu9nzb2Bxs+udqTfDctzqL7M3ECsfWRLh+iiOuGwTsRrOowdgWSr 3nlUvzrCexe/jgcRkvTAfMVei6nkurJN+3reE/K+WvVt4oYKEEyw2TxjacHrt14F1B/P c0Ig== 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=cgZxjoWrT1AZAxZIzQbeXNN5B4NUExBzEhcUQwx7T6M=; fh=ZrrpEbU0yMfQGFPwKwMwgFEZjxa07fz1cx8A0A3VWRc=; b=KwSKOxfY4V526kT7zpTvyLkZYYn9QvoR7V571LJHIl0rJ6WszwB6fV6DnVjHESQgDu wO8SuAg9NaeW8gvdImVo/AQEJfjUmT6B/6SA9SmjG8igY+DcCtyxgW40JTJAvghtU+cf c6X2A0r2B8lqc7nayA0QoDkaAgZxth5lOoxpoVaQfgK7YUWtTGoT3S40A7cH87jQZKho iKz/RyQo+cNUC4LLiYPpPjpNmMJMKW0xDnlOaBq1Gqa/wnKB4McFrBZLAnekFGlPWk9s faGcqJTGwY7tz6yvy1Y0T3VAHI53SdnWPHrWoX0m/AKrfiIC+kORTUHMeCB77FjX02wB F2ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Cph3DwTB; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-56509-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56509-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWYc6WCHBMJb075sCZN2n4z2CC4ZbJxb4kyYouljO8kMOj4G54kPzJJNvUkCFyHVKmxtQ3xhnN31nmD/3Cm9kL6hPd8IA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e2-20020a17090ada0200b00296aa48a449si1462660pjv.95.2024.02.07.05.08.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 05:08:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56509-ouuuleilei=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=Cph3DwTB; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-56509-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56509-ouuuleilei=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 2D96D2872C9 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 13:08:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBCC576C9D; Wed, 7 Feb 2024 13:08:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="Cph3DwTB" Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.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 9F5C776C69 for <linux-kernel@vger.kernel.org>; Wed, 7 Feb 2024 13:07:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707311279; cv=none; b=fE86h1LFTpo3FGepdXokcBW7NWp27zO7EF7x2OEEMS+x8LKlzE1MqSoXLCyD51MWA17PKss4EYc4Q8JDsNc+/lpgJGnyrxtmyPlnsljbKvAHOsdL3HMz3B1BM99K0JRD748Xu3HRjZd7UM+6tHWImi2KGX3hpZKbFg+o4zGgW64= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707311279; c=relaxed/simple; bh=cnUYyVs5/vC7vebIv9+mS88wVxIV0SdJzuzMN/NHZ3Q=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=G4qVXXJTauJTx2t3CITd2H11dQhN+eqJ8rHwnjZmPD5OiXeq9IIs58hfU/wjIvYMxNPvcF0xTMPuaMLr74TKPFIpgLLtw3oLRjMLDdquMEBxLgS8uSUi1ncgj6itvtEHVCYbk+RG1Gd0lxx5KJ1sDgnCTrbDqR7Ihuh+vDeNUEw= 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=Cph3DwTB; arc=none smtp.client-ip=209.85.210.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-ot1-f42.google.com with SMTP id 46e09a7af769-6dbcebaf9a9so346136a34.3 for <linux-kernel@vger.kernel.org>; Wed, 07 Feb 2024 05:07:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707311275; x=1707916075; 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=cgZxjoWrT1AZAxZIzQbeXNN5B4NUExBzEhcUQwx7T6M=; b=Cph3DwTBukllsxqRfOjoNMLbVy+BrSiWUJHXNm/MMVC0N1x+1qhe/TAPddTvp6MPVB UcV1MIYys+ueNkCO+9cRvtUqdRFJhKaudl++opXhKButacdjpkilsSQic1Y0TI01XWkx 019IK3QxZp8IoCTAmg23XmUnbHpBhhXAUwUNSot0Pt6ZSUze2Z/+AJrtCg6hUgR/ufzs UI0c6THi+8YKg7QD0XWqwwTZ1ojJRcaDGcHZHgnU9D9AYeKfriwjjDiGTdPxWEP/xGqh uKP8pChyuAOVvf3hrLjc32p4VSXMeAJV9SKHvy8S27GknQeEnBmQ+Xhzvq6MIYW45L3j 2XTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707311275; x=1707916075; 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=cgZxjoWrT1AZAxZIzQbeXNN5B4NUExBzEhcUQwx7T6M=; b=O9cHKY60GG+Esdpvpp0x1O0QIETAFlOXH7x23wwxG27Ve/cD4V4uzNM5wziYdfSghf CKTx8Seybt6Y8cpiklv/hIYUUQIVAhzqMUx4FbCavUCraJB4SpYYvh7cGQdV9Ax6kaiG G3O4ynEOI/JL+Jcnl+jeON16dQyKtOgGONgd0D+FbrPbvjXVtw3nE/QWwAOzagG96OsO 6pG4pKJp7RJizm0cgLy8guHxEjvXZNQeIzO7q37H2fn0RwlYdjllInt9buRpn9KwENYv YSFfrO/SIcYlUl/H1D4bDKt5i6nYZCYyOF+HMUcDZTz26NQWH049hmyQ2ThdRCDU5VuS HX+g== X-Forwarded-Encrypted: i=1; AJvYcCU0R3fEE1sGtIbbU8vU5Obf4Fcw9ZYvGm5276JDEjf77XEyQBHWqmA5b6feNnzwRVD6oOIKOc9T1TonAy8gCtHQskzBRjJyvgaufPT8 X-Gm-Message-State: AOJu0YzH8E4UtSwEs8jkH3YNrVRzsL0iXXj3qMXqjYLClYcIg9+0BmlR n8zyHwkSjgOHqe80ZnIn1L7Izy3OXO1QGc14DaTTskbSO7CgaE0mECouzh+AI1o= X-Received: by 2002:a05:6830:3a88:b0:6dd:cd73:3b0e with SMTP id dj8-20020a0568303a8800b006ddcd733b0emr5678654otb.23.1707311275538; Wed, 07 Feb 2024 05:07:55 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXqCDZDDBRDbsXqT1ey9HzXOkExZvunGlbVwR85X02+RML9qzTmXaasE8bMz95+CJqyJuDdjUU7X9NSSdPFs6u4B/AWUp18Ziek6W7WmFahz/Y9bhmywcXigdcQK83JMVOzlxD38ThZFceT/k9sH93EMJoRlvnvVWB3K1aWSCPFXiKEpycfUvxXwG/G5g1zrMmqlGL8m4vcyxsnr33K8BtM+ftBrAq9mSnC013gk1IuqVTZ7uUhYiJzKAgOQZEs5/cflyl7YXklzWZBHyV7SrJ1oZ2jC5GXiW/2Bf8r3uFhFHx306TyTLk39IaICzhaPsn+9KsbeZeITYVJGNLZ8tQuzS2PsEbC1nrFqoMMq/vnDFChRJrtfcKLgKAa7qod/Xy5uJ8J3+/Ti9VP+lhyS2U6BBOgmp/wDHtwNQMPF4gd36FdVc1ZYU6gdfdp/cdeuFZxrcpJrwpZTQ0JrBnrbqADrEKLaf5wFOklZB5ggDQITRmhYutPfPuWHFp8vYvumvsmI3nODM3r3Q== Received: from claudiu-X670E-Pro-RS.. ([82.78.167.114]) by smtp.gmail.com with ESMTPSA id a17-20020a0ca991000000b0068c9cd2cf88sm565455qvb.60.2024.02.07.05.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 05:07:55 -0800 (PST) From: Claudiu <claudiu.beznea@tuxon.dev> X-Google-Original-From: Claudiu <claudiu.beznea.uj@bp.renesas.com> 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 <claudiu.beznea.uj@bp.renesas.com> Subject: [PATCH v5 0/9] watchdog: rzg2l_wdt: Add support for RZ/G3S Date: Wed, 7 Feb 2024 15:07:36 +0200 Message-Id: <20240207130745.1783198-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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790245654275365229 X-GMAIL-MSGID: 1790245654275365229 |
Series |
watchdog: rzg2l_wdt: Add support for RZ/G3S
|
|
Message
claudiu beznea
Feb. 7, 2024, 1:07 p.m. UTC
From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
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 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(-)