From mboxrd@z Thu Jan 1 00:00:00 1970 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 41270C433FE for ; Thu, 20 Oct 2022 05:50:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230035AbiJTFuH (ORCPT ); Thu, 20 Oct 2022 01:50:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbiJTFuE (ORCPT ); Thu, 20 Oct 2022 01:50:04 -0400 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAC117332B; Wed, 19 Oct 2022 22:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: 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=lKThIZgqHKvCGltJVdtOA9KYQdCfRmAyFjIfTDwMoBQ=; b=Zf5dd0Y2XxTVRidSB3EicwY+WG An2pcvGEKZvScnESm6TfJxtYJ3GnGR5lw/kqfHWG4DmI4IEhmg0oUbWMVyVrTUBX4y3cpehAw60+x WDbb6h1bc8bCv16ZA3XbvL8rbaDCYdbHSp8BHBVyXp1OfbzdD27XTDJkm6iMatdemCN7ckvpn5Oiy BbS2UAv+iXK4lOZeFmPABBGeTviyt1isrpDkfPGsO45oMa3W1HYXqH/9BNYCARChqLMk3ux2heDBh K5x3Qsatd/4JpS38GkvMV4hXcT5TI2WtkGSqrO8apwbEP+S1O4lrof0YE5J1+XeaCJhSz1ZaCNX0e 9975xVpg==; Received: from [89.212.21.243] (port=51160 helo=[192.168.69.85]) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from ) id 1olOR8-00Ccn8-QR; Thu, 20 Oct 2022 07:49:54 +0200 Message-ID: <7b3bc437-6b92-4691-fd95-08e408b1c962@norik.com> Date: Thu, 20 Oct 2022 07:49:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH 0/3] Suspending i.MX watchdog in WAIT mode Content-Language: en-GB To: Krzysztof Kozlowski , linux-watchdog@vger.kernel.org Cc: shawnguo@kernel.org, linux@roeck-us.net, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-imx@nxp.com, festevam@gmail.com, kernel@pengutronix.de, s.hauer@pengutronix.de, wim@linux-watchdog.org, robh+dt@kernel.org References: <20221019111714.1953262-1-andrej.picej@norik.com> <5bf984f4-681c-7001-281f-f35bb7fdfc8b@linaro.org> From: Andrej Picej In-Reply-To: <5bf984f4-681c-7001-281f-f35bb7fdfc8b@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, On 19. 10. 22 17:46, Krzysztof Kozlowski wrote: > On 19/10/2022 07:17, Andrej Picej wrote: >> The i.MX6 watchdog can't be stopped once started. This means that >> special hardware suspend needs to be configured when the device enters >> low-power modes. >> Usually i.MX devices have two bits which deal with this: >> - WDZST bit disables the timer in "deeper" low power modes and >> - WDW bit disables the timer in "WAIT" mode which corresponds with >> Linux's "freeze" low-power mode. >> >> WDZST bit support is already in place since 1a9c5efa576e ("watchdog: imx2_wdt: disable watchdog timer during low power mode"). >> WDW bit is not common for all imx2-wdt supported devices, therefore use >> a new device-tree property "fsl,suspend-in-wait" which suspends the >> watchdog in "WAIT" mode. >> >> Andrej Picej (3): >> watchdog: imx2_wdg: suspend watchdog in WAIT mode >> dt-bindings: watchdog: fsl-imx: document suspend in wait mode >> ARM: dts: imx6ul/ull: suspend i.MX6UL watchdog in wait mode >> >> .../devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 5 +++++ > > Please use scripts/get_maintainers.pl to get a list of necessary people > and lists to CC. It might happen, that command when run on an older > kernel, gives you outdated entries. Therefore please be sure you base > your patches on recent Linux kernel. I thought I did. I run that script on linux-watchdog.git, master branch. I thought I should base my patches meant for watchdog subsystem there? Best regards, Andrej > > Best regards, > Krzysztof > From mboxrd@z Thu Jan 1 00:00:00 1970 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 9F509C4332F for ; Thu, 20 Oct 2022 05:51:06 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zh2mQAmb8ZeK5vcr3SOTMUX/eFhkMRjVPTAVcqP3lwc=; b=KqleoSMl9+4VwM pq5Sg4VXn495f22rJE2fD+/SXCZV31nT26dViosui1bX7rlp07ZqSKb3D5fkCeJXIKpKz7iHjGCG2 iuMY3mNQx9Rd58cICLTm6ScvARmzS6p5uP8mMDSza4h7X2mPAnfDMerOxM6tE39VS04pE2Ep5xHdR sXh2+m2Zsbe7FqSsDZWsVnHG6pe6ZFrXMA3WaN+L65beC06Dy9nk7HTmUGeJgnRmBHFoaJ38MIvpP /YIXTY3XoTw090vlKa2RgIyWCKqdyQ6dtXFN6p2QUCNo6tmeiwtvmDKvNAHgsd4V9p9j0oTxj6Xs/ Jv2eT4pOiMFStKDCOAhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1olORN-00AhmK-7K; Thu, 20 Oct 2022 05:50:01 +0000 Received: from cpanel.siel.si ([46.19.9.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1olORK-00Ahg9-Jb for linux-arm-kernel@lists.infradead.org; Thu, 20 Oct 2022 05:50:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: 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=lKThIZgqHKvCGltJVdtOA9KYQdCfRmAyFjIfTDwMoBQ=; b=Zf5dd0Y2XxTVRidSB3EicwY+WG An2pcvGEKZvScnESm6TfJxtYJ3GnGR5lw/kqfHWG4DmI4IEhmg0oUbWMVyVrTUBX4y3cpehAw60+x WDbb6h1bc8bCv16ZA3XbvL8rbaDCYdbHSp8BHBVyXp1OfbzdD27XTDJkm6iMatdemCN7ckvpn5Oiy BbS2UAv+iXK4lOZeFmPABBGeTviyt1isrpDkfPGsO45oMa3W1HYXqH/9BNYCARChqLMk3ux2heDBh K5x3Qsatd/4JpS38GkvMV4hXcT5TI2WtkGSqrO8apwbEP+S1O4lrof0YE5J1+XeaCJhSz1ZaCNX0e 9975xVpg==; Received: from [89.212.21.243] (port=51160 helo=[192.168.69.85]) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from ) id 1olOR8-00Ccn8-QR; Thu, 20 Oct 2022 07:49:54 +0200 Message-ID: <7b3bc437-6b92-4691-fd95-08e408b1c962@norik.com> Date: Thu, 20 Oct 2022 07:49:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH 0/3] Suspending i.MX watchdog in WAIT mode Content-Language: en-GB To: Krzysztof Kozlowski , linux-watchdog@vger.kernel.org Cc: shawnguo@kernel.org, linux@roeck-us.net, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-imx@nxp.com, festevam@gmail.com, kernel@pengutronix.de, s.hauer@pengutronix.de, wim@linux-watchdog.org, robh+dt@kernel.org References: <20221019111714.1953262-1-andrej.picej@norik.com> <5bf984f4-681c-7001-281f-f35bb7fdfc8b@linaro.org> From: Andrej Picej In-Reply-To: <5bf984f4-681c-7001-281f-f35bb7fdfc8b@linaro.org> 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 - lists.infradead.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221019_224958_869896_64FA709E X-CRM114-Status: GOOD ( 13.18 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Krzysztof, On 19. 10. 22 17:46, Krzysztof Kozlowski wrote: > On 19/10/2022 07:17, Andrej Picej wrote: >> The i.MX6 watchdog can't be stopped once started. This means that >> special hardware suspend needs to be configured when the device enters >> low-power modes. >> Usually i.MX devices have two bits which deal with this: >> - WDZST bit disables the timer in "deeper" low power modes and >> - WDW bit disables the timer in "WAIT" mode which corresponds with >> Linux's "freeze" low-power mode. >> >> WDZST bit support is already in place since 1a9c5efa576e ("watchdog: imx2_wdt: disable watchdog timer during low power mode"). >> WDW bit is not common for all imx2-wdt supported devices, therefore use >> a new device-tree property "fsl,suspend-in-wait" which suspends the >> watchdog in "WAIT" mode. >> >> Andrej Picej (3): >> watchdog: imx2_wdg: suspend watchdog in WAIT mode >> dt-bindings: watchdog: fsl-imx: document suspend in wait mode >> ARM: dts: imx6ul/ull: suspend i.MX6UL watchdog in wait mode >> >> .../devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 5 +++++ > > Please use scripts/get_maintainers.pl to get a list of necessary people > and lists to CC. It might happen, that command when run on an older > kernel, gives you outdated entries. Therefore please be sure you base > your patches on recent Linux kernel. I thought I did. I run that script on linux-watchdog.git, master branch. I thought I should base my patches meant for watchdog subsystem there? Best regards, Andrej > > Best regards, > Krzysztof > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel