Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp292959rdh; Wed, 7 Feb 2024 05:10:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU17o3kbv4DrNv8PkfLrxX/BX0W6umSNk2vGDu6EaS795RyoJjXPoDeeZIcrKyO9atzkQRne4XB3Ne3NE0I2vWLESm3Jq3lB6EA0C9jzQ== X-Google-Smtp-Source: AGHT+IF29mg1ebvrZiNJRn6WFjhFH17STWatMIajbJTJEu9C/r5cbsET+LKiqQtahGd0lnxHL5Iv X-Received: by 2002:a05:622a:8013:b0:42c:14b7:b19e with SMTP id jr19-20020a05622a801300b0042c14b7b19emr4757645qtb.33.1707311287657; Wed, 07 Feb 2024 05:08:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707311287; cv=pass; d=google.com; s=arc-20160816; b=CmIlSMkv/ft8bNoTr6XXRoJHSBz0X6SkBJoIqbcohIzT0KfcQeqZXPsdxAymsgyHKJ IYo6F5JkjQTzUmobbsrQNEGMmVEjkeERYdai/P3vmBv+PfdCjIInxMYvo1hBtDLjV2hd aymGP+BvB9WfrUnhzQNZc5JTJMzEEIrxO5ZsU1F/HZ0D/j6j4DZJjFzEPsuLF6cYuN0U yWJ/q/J+ITYnpC7etUl2g3jRO/W87zs7izZcYtjhXzDxoaFvk8E04tgEzJk0ba6UZCEg 6h+OcrUhJY7zNilGzShJGcTKT+Nn/cBt8OFeVlrl5Um5+A0jL1X55Mdf5BRiBD82CpqS xU1A== 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=bz3eVt8A7VazijgR3uVwdKh5QQV+Y/8cYjE2cKIf32w=; b=bFHmy6S1rlEQU9oV86/Ecf/bvwiYrQHgZFQL3sst4TmFsEpbGeakpX5G3jFjWUe0PX h2OLVwCliPMF/56rF2kS4caOYuyxLvZhk/oPPd4T22U+3vAYmO8rhKQvwGqqKaQ24ngZ N6I71EE5wgCNe3/g8up+mirEp+rwxZ9qn+K5uS7cykfrU86vdQYp8OIOHn71xrgv4OOw 0i0kAha/9M0TUi16Jna4zyXxDqs5lhCClwXZAm04t5Iiju/e/O7yY1etMDyje2c2KBjN I4j5cM3HvgceC3Byneq+CpfcS1XOEBodHRd/gv8ShoBhC6EZx586CHryM3J1B0kEiNMd gMCg==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56509-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXMgXrdYiGrTngfEgpN/hg9TmoQZgjhlRDUsQUiBLd0dtUfbgF0YwvANagOmp5uadVpKqyPgjplF+/StCFIM8YYsrTHNcaz6j8cnhtRcg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k14-20020ac85fce000000b0042c3f746a22si1043716qta.369.2024.02.07.05.08.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 05:08:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56509-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56509-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5ACD11C24E5F for ; Wed, 7 Feb 2024 13:08:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D195676C82; Wed, 7 Feb 2024 13:08:00 +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 ; 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 ; 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 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 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: 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 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