From patchwork Sun Jan 9 11:41:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 12707740 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8AE24C433F5 for ; Sun, 9 Jan 2022 11:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=etePnUs2R4F/obO44fTkFOK9d1o3UYwm2Vn0fIf0vdU=; b=wLhKYTLfHy/1W3 TzfWjQ7Gbz5Tk0J/+SMdZ5Fx6N793PxVoym35/duq/1XVHiamMElnf8lMGSgjDEOaY+MKxiGd4PyM aMdKXRNDBz+IHaMiDduDh81GdlcJToXzti4szIfasAO+QgYmyv3H1f2M/p6Y+voO3zcc2/O1U+syY cXLnLxalUGqy2hNBM5rLI2qNLhGQtTtgv2D/T3z7FdW0vm2Mjv/pqB3pzNs7Y0A+lnLKEudcbw3Ub /SUipg0K+/NXRVQFo43z+5xJY5m8gAA06XCmLko+cmyZN5t6tovSJ6KbWlm74fJ60m2RDB6LJwmQ6 RUFeReP4qUGw875cLqDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6WZu-007hXg-5G; Sun, 09 Jan 2022 11:41:38 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6WZq-007hWU-Jj for linux-arm-kernel@lists.infradead.org; Sun, 09 Jan 2022 11:41:36 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 2F07658017F; Sun, 9 Jan 2022 06:41:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 09 Jan 2022 06:41:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=from:to:cc:subject:date:message-id:content-type:mime-version :content-transfer-encoding; s=fm3; bh=1iO9Xacgo2IEiAUwgTfhkQCJyw B+vMt9GrLcUsFja0U=; b=AbxB4VaIT2geck4+hTBATJ2n4MoLscgC767PQZXopH Mz/oe8QJnumSQDJH08/z+ZGOB382BLTk3LPU2CEWkEl0VyumURASmf5uMFwrVrM4 hxuGck3Jwh25vwVAfpoLx/Rtveu/A5XI4Jm6LsvmIhp0035DxGjOtuZkBSqmq5Nc iLAVAV2tPLk5ed8Y9yO8/fwQw9bF8dfuzuHINgGfWpvctvjsqUAPY9Qgl4SaeNZN QbUIAFpqb4MBLkt669pb2W49l77Mn4/9cr3JEzynsYVlSgjWUkqL9yu6E4AAv/rj JZiLM5wUH/xRpR5Qg13UDKTr1uJdISKCgZWbMDImZbxg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=1iO9Xa cgo2IEiAUwgTfhkQCJywB+vMt9GrLcUsFja0U=; b=NrlfcFgbOtu48Hj0N1ZLnl rzXj314N//bo2GW0hBpRc7moR/rU2agot92JP0c+u3XpjSgL201+z5I5kmge+vuD hbjti3jnUDukk06vlcVWb3hJaR/fi4WTeDy/ZB21fVD/LESRY9BHxYXvU6BW1F9d oQOWzmPXiv6IS0H96myWDGo4WLiOTEZjIp+sSC+Wa7vv3rHKcGtguVOOEPiX13YG D/K7Tc6XzHS9ODwdm29ERjnihltm+8jS3CDS0J/rua1cho5X0FHbx2jHIv/O2uZS 8J36IObsQQ7gxcVgEmttNVQfJjc0is2YbPYl3nV2gCYRI6xmam+kTZaifw+ZQsdg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudegkedgfedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgtggfgsehtqhertd ertdejnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepheetfefgjeeuje dtgedvgfeghfeigfehffdvffduveevteejudfhudekudetveejnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 9 Jan 2022 06:41:22 -0500 (EST) From: Alistair Francis To: linux-kernel@vger.kernel.org, linux@roeck-us.net, shawnguo@kernel.org, wim@linux-watchdog.org, linux-watchdog@vger.kernel.org, s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org Cc: linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, robh+dt@kernel.org, Alistair Francis Subject: [PATCH 0/2] watchdog: imx_wdt2: Enable ping on suspend support Date: Sun, 9 Jan 2022 21:41:18 +1000 Message-Id: <20220109114120.386013-1-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220109_034134_762752_215A231E X-CRM114-Status: UNSURE ( 6.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org When running Linux on the reMarkable2 tablet the device reboots two minutes after suspend. This is because we don't go into low power mode so the watchdog timer is still running and triggers a reboot. This series adds optional support for ping on suspend for the i.MX watchdog timer and then enables it for the reMarkable2 tablet. Alistair Francis (2): watchdog: imx2_wdg: Alow ping on suspend ARM: dts: imx7d: remarkable2: set ping-during-suspend for watchdog .../bindings/watchdog/fsl-imx-wdt.yaml | 7 ++++++ arch/arm/boot/dts/imx7d-remarkable2.dts | 1 + drivers/watchdog/imx2_wdt.c | 22 +++++++++++++------ 3 files changed, 23 insertions(+), 7 deletions(-)