Message ID | 20221104070358.426657-4-andrej.picej@norik.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp223116wru; Fri, 4 Nov 2022 00:18:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6npSrwAG9anBlbHKX1nANzsTwU1F/mNxS1aUv9B8OfkAti0yeKSSzkoet8lXz7KjhaZ2bg X-Received: by 2002:a05:6a00:1343:b0:56c:5f2:2d8f with SMTP id k3-20020a056a00134300b0056c05f22d8fmr34326582pfu.6.1667546289725; Fri, 04 Nov 2022 00:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667546289; cv=none; d=google.com; s=arc-20160816; b=fV2gL2NDXzdvDA0tkv3I/NtM7ICv5agbPfoXJ9plWcaK31V/LQJ2OpnzQ7OAmYwhO6 oIABJU3JIk3aBe4tzUjz4WmKGJ8khc7d1anqa0gQpjt0NlEC7nhOPMRECHI2q8TAl1Vv BvHQPxUtqZwnU3VZeIYo+799JDFqHWFzGUI0F/TpBr4LZth+lye3j96VviVk8GkwAjff YSQ+3FJh+Cd0DAi9Hh5dFt1WPMKQRQyuFwpdzM5ABGUUOrBDTbjHNt+3Nz9Vo7nzQ0PH 0vDikAYP/5vKVxzPzw3xR5RkwnxEgeKxqdiH/eyORU8pDa4jaiIcN9IxYSm3ACxIuikL iAZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mBlF5pZ1kv6ig6Ylvq6jnljrMvNC83XZi6GRm5B7Cvs=; b=U6gfOLcsOe6lcT6ioffmrpHlHkDH3PdJA/W3kvsx8qwAihOlY2dqBUJy7J0h3/QBaj GX8nCB8bevX5nxJxJ/21WLKM5psKckE0P/hWQ/2f4Ia+dGRhZ63qPtwmJgpDid9P/o9M 7+FDg3OVcNO1k8ANCt3Yy+tRyewXIGz5WpM6wnQmpNqTbDlR+Um6WHU3SM0kmchpIo0B hlY9DB0rdvwfvtZhq7h92AN3uAHMJ4rfJjv6T/HvjYzyiWbkukGctcV/rPb8ANI0YBFA UFQYumNC6WbAA3g+lJHwu+j9dnPKbZbW/UayDImPk00hm7qy6HLRBVJecnzn5uh2daNJ Y8Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=jglzrcpQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a634c0d000000b00460dd0eed0csi4147498pga.176.2022.11.04.00.17.57; Fri, 04 Nov 2022 00:18:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=jglzrcpQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231589AbiKDHEY (ORCPT <rfc822;jimliu8233@gmail.com> + 99 others); Fri, 4 Nov 2022 03:04:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbiKDHEK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Nov 2022 03:04:10 -0400 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E0D626AE5; Fri, 4 Nov 2022 00:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mBlF5pZ1kv6ig6Ylvq6jnljrMvNC83XZi6GRm5B7Cvs=; b=jglzrcpQFJi18wyZ81//OzPEiL HO0G5x77bH6j9Zx4Sd+m096og/rRjPOyreWvWg4sfUPhFef2rW40J/fZrALrsDOHdVJLgMph8kwy/ dAxyXgLeO5KFdIvxEMFfbX6aHfYmdR2EAfzAIeJFEFTGJCMZ0JMShnyVnZin3lLvvmBGEaQTVuRIr dyq45s0nhkqbr/R2E0Ajg9b/ZuyjNtm/sDA/l0YXZxxIWBXyvkl9tvMGYcDjlekTUXSuqH30SW2ZJ 7732d5wOP48sNJciVBHqb5je1plIsLzYOQidquLnZyEEIc8BchELz1iyd/bdZLcxP1G5180d0Rin6 jpt1xoPA==; Received: from [89.212.21.243] (port=40616 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from <andrej.picej@norik.com>) id 1oqqk7-00EcG2-Kf; Fri, 04 Nov 2022 08:04:02 +0100 From: Andrej Picej <andrej.picej@norik.com> To: linux-watchdog@vger.kernel.org Cc: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, Anson.Huang@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/3] ARM: dts: imx6ul/ull: suspend i.MX6UL watchdog in wait mode Date: Fri, 4 Nov 2022 08:03:58 +0100 Message-Id: <20221104070358.426657-4-andrej.picej@norik.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221104070358.426657-1-andrej.picej@norik.com> References: <20221104070358.426657-1-andrej.picej@norik.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748549018589320474?= X-GMAIL-MSGID: =?utf-8?q?1748549018589320474?= |
Series |
Suspending i.MX watchdog in WAIT mode
|
|
Commit Message
Andrej Picej
Nov. 4, 2022, 7:03 a.m. UTC
It was discovered that the watchdog triggers when the device is put into "Suspend-To-Idle"/"freeze" low-power mode. Setting WDW bit disables watchdog when the device is put into WAIT mode. Signed-off-by: Andrej Picej <andrej.picej@norik.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> --- Changes in v4: - no changes Changes in v3: - no changes Changes in v2: - no changes --- arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
Comments
On Fri, Nov 04, 2022 at 08:03:58AM +0100, Andrej Picej wrote: > It was discovered that the watchdog triggers when the device is put into > "Suspend-To-Idle"/"freeze" low-power mode. Setting WDW bit disables > watchdog when the device is put into WAIT mode. > > Signed-off-by: Andrej Picej <andrej.picej@norik.com> > Reviewed-by: Fabio Estevam <festevam@gmail.com> Applied dts, thanks!
diff --git a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi index 3cddc68917a0..5168ed0ffec3 100644 --- a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi @@ -102,6 +102,10 @@ &usdhc2 { status = "disabled"; }; +&wdog1 { + fsl,suspend-in-wait; +}; + &iomuxc { pinctrl_enet1: enet1grp { fsl,pins = <