Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1788217rdb; Sun, 4 Feb 2024 01:06:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtVfwnfMsi7KrJkn8thcWzywLlwuP58mZrSbi4/NfBizR/9pf05z6egzNIX1Kz6QlcQj1s X-Received: by 2002:a17:906:1c2:b0:a36:fc15:c6d2 with SMTP id 2-20020a17090601c200b00a36fc15c6d2mr4355734ejj.5.1707037604074; Sun, 04 Feb 2024 01:06:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707037604; cv=pass; d=google.com; s=arc-20160816; b=v8C0ADOh+Ko0OcQ/1N3oYU+vkYsTEiNioKGu0H2OI45lDFd2ArtHQF1WhATmvnfFhb tuSYlptJLMLtpzYJFDeV24u97nqubuaO4Y4L7/81gGU9D00uKhLKW40YUmYiXN4FD/AF /XHepJf8UjyeszCDQPDAyUXxNnRYCKaKm69GZ08g7M8T6r/W79l28uhVMa+1fKFizlaJ wD8LlIcjh3GEroXCDimJjXz3CnFv5wLlo2CJl7e+tdING7m7U9Ez0thgsCQ7glrPnMyP c2PY4GXPMgDG3WL83SaNBQ7zsAiNWqnOyW80hWlXs2HGIIO7QSyqQHeXCvT/JO9HOqxx g5ww== 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=vg7eGbiNpgbKafsQCEgg8Uv1Axfky5dqLGTTkaDFDAQ=; fh=bHW04V8XCpyGx1059GJRe8Q61CXaEtQ7CC/WAJoRI48=; b=Oyb8GZc62FUhzbfQYjDmW/CB3pmzl8Dvf/a4vJYq+Dip+302Z+ASfab0kdJFrmAIWx 54/hdtjuKNlAM0WCJxV4NdSJBCqVvRJY/fEs5XM7hukobOPBaDAxGeyU8+4jYvDbsTji UDEonO6ChK4M+x5hEJHTSXg2ZXuk4C8FE8JEteOQvW5SpVGhzU5/XrJKiPpkjTVwyHVj qy6RiCJwmb2Adk0gWRCKvVSNV8g9WXO4Ur911pqHzuuvn6Hi+SVLEM8HLmw38b+bCENP 9u9LjaPoHCqUkBRsdC1OE+dFm7FbRuD3KSQXnD5FWwAei/+CyQox8xtQfLZRQByrjcNV 5LYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=AN6opwMe; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-49394-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49394-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCW1or4TAg1zeg5u8azetxw3PWbw4MYBeRO4FgCWQZ69BNYLaI9bwaM2aoCIgf3pBsBVigd2rf0b+UUiYhzKXdJLcfoNL1Rs+SXvQXP9Ow== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id mb5-20020a170906eb0500b00a37986fec47si339532ejb.134.2024.02.04.01.06.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 01:06:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49394-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=AN6opwMe; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-49394-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49394-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 638DC1F260F7 for ; Fri, 2 Feb 2024 07:59:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D33017C6E; Fri, 2 Feb 2024 07:59:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="AN6opwMe" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 8A91618028 for ; Fri, 2 Feb 2024 07:59:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706860743; cv=none; b=nt39mCdnXq7q9KD1ZIC/P7T0VY8NVFcMNBvhem3yvliGwD08NhJa+JJhl/2QZtYuwA9USY6ueAYsEESjyu7OvVhklfnzfApbYhPwUEjwNzS3O9a9ZkLn6xx6C3GoXkvNK/nw+WhmqevKjexBJpOT+JLEcSUvM9ztWZ1SqrejZ6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706860743; c=relaxed/simple; bh=9VQr3qBEExgAyIdAPOjFjPcbsh7gCfkBN/AKEwWZGWA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=k5I4bfuuI6gWPoKoYcQw6j7padOKaoZWBfwVRZtGYFOh1eJ+kqaAGhsNhlcQUkQGEkNKRaxyXirGxNG7+0HfSq0AwuzsXnYq5E3OfgXEPqH8sSV2aYmqUgY6LsUVXKnme0MjY8NPR+tH0QW4+J4FMGDQpRVo85XVOO1Oo/G0uQs= 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=AN6opwMe; arc=none smtp.client-ip=209.85.218.48 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-ej1-f48.google.com with SMTP id a640c23a62f3a-a3604697d63so273366066b.3 for ; Thu, 01 Feb 2024 23:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1706860739; x=1707465539; 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=vg7eGbiNpgbKafsQCEgg8Uv1Axfky5dqLGTTkaDFDAQ=; b=AN6opwMexLItIPyx0YfzQ5s4dJ4gB9JNAzPzhC4ay70pnSCzRFadu68d4MCc34varv vr5i5iv/J+9ZB43ks7oj5LOp9693BQ7WLuSACN+dK6iRRCR1BMWsAlc+uB5z5yfz2NBc 4ILLoSn+EDjSKq4V8aCnrb1n+JnjxC9/+0tjgqZwZx9+PbVICh/mlsEd1QIdUJ345cxe ut2EcOObugygejdbtRxO7gJpOXtgN7W8DJMwy1JfjoaLmFswVJvuBNXg4UsXVj6WXkHP YjCTCvnFmwlELyjLw8vM3SzYw+LfP7tqbRy2DUW9H5Szd5Tz5ZTq7+q5hcQX5Vymj1RU Nn8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706860739; x=1707465539; 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=vg7eGbiNpgbKafsQCEgg8Uv1Axfky5dqLGTTkaDFDAQ=; b=rbAXVPX4C3bu9Cl0vMPyMTN5BCH1+PqYv7785LUzXCfDAE2tP+VKRIJJsnvKWCjyKZ dSANqOSpQB5elCfkR4BlBic6wctAEFro/nq/m1rkECRmOMTLir/7tPTAHpEg0bxm5VsD L/1P+sctzdxZD9rMUXx56GJ7iL7eMwTnlSTnWgP40JAUvVtqxp3VoXM26kNb6RFSENUa fdjYta4hdjiCpwzMptFC5Ioep/wDpB9DVyKdq7eflHxhjgRBZg5pVE7mtLpEqMsynF5J gcVIrS9gZ/TdAXNpRJIPV5EMoUtNdXNp9TSGercc66H4vjTGYA7VDGjCV+HslC0DmJTc GINQ== X-Gm-Message-State: AOJu0YztrzWK5Av4yqDHI2/QCdB0riHkuVsM5pPyq5CDurqx9YQhIu3X N0URs+HFslBNG7grv203qDKoTzducOBUCQkVlH59wkvx1rLWX4Ia1zupdHs/j8c= X-Received: by 2002:a17:906:3108:b0:a37:ea:ac15 with SMTP id 8-20020a170906310800b00a3700eaac15mr598662ejx.35.1706860739585; Thu, 01 Feb 2024 23:58:59 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXVDm2TJfYO3hrY4Q+xL9KAz6xi1v7Q14VJavUrv6BZj1bCAqHWFvUGEa9w2D1GTIUiO9amhqCHzr0SvSebZVLDeazibmJIzugNasiRrBfxKSFvJqBmqduDfumxnF4AgO8ou/ODF58EtfI3/yeE8oxGLpIzlJNQ9TN4vwTeTAJ826zr0HOmRrKMdDYe9dNW57P1ODgf5jmKpZKQulO/cFHeNDCocmpLVPsNzF9QAUYZGQT1jHbTvtnjgtOWzUoosxewagGKZ1bgpp9eii2jobXAOthmVKwEtJ2i95PxsUnknRfyorWTslDAgrCAdOG6JUPtxKS7fciLHeQELIoTbs+ZUvfodASnJzbCCC0zCnNm263lX5APZ2F1ld9qQ4JNy01TjYsCs6YYaIrBZJNyKlF8dzLrt/ox8v8R7VPPnNlkwPmJ2eSL3sYnyhA0sA+ZuZylkeU5H7ZgZcpaWozE4UALt6dIeCSP2tk0JsvgFE1HXzCrg+c90gwdkbvjIb7aySmpeRpIh3MLGw== Received: from claudiu-X670E-Pro-RS.. ([82.78.167.87]) by smtp.gmail.com with ESMTPSA id ty13-20020a170907c70d00b00a3715be38c4sm185544ejc.210.2024.02.01.23.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 23:58:59 -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 v3 0/8] watchdog: rzg2l_wdt: Add support for RZ/G3S Date: Fri, 2 Feb 2024 09:58:41 +0200 Message-Id: <20240202075849.3422380-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/8 makes the driver depend on CONFIG_PM - patches 2-6/8 adds fixes and cleanups for the watchdog driver - patch 7/8 adds suspend to RAM to the watchdog driver (to be used by RZ/G3S) - patch 8/8 documents the RZ/G3S support Thank you, Claudiu Beznea 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 (8): watchdog: rzg2l_wdt: Select 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