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 X-Patchwork-Id: 530921 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F562C433EF for ; Sun, 9 Jan 2022 11:41:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235107AbiAILl3 (ORCPT ); Sun, 9 Jan 2022 06:41:29 -0500 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:37417 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbiAILl2 (ORCPT ); Sun, 9 Jan 2022 06:41:28 -0500 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 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.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(-)