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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44769C10F25 for ; Wed, 11 Mar 2020 07:37:19 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 115BF20873 for ; Wed, 11 Mar 2020 07:37:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VZQkQvvo"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="XOMKUeTd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 115BF20873 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hdjLWzmBuf95l1xu5Yo16pjaFTTd4vERirgP0ME4z28=; b=VZQkQvvoRJ37Rc Y+4qWqJ2PZGLqQrfRWOJgT2MemJT6wKLKfwrrJ/aFDZQMF+7Ko0yedf7Mf3C2Ds1hXsZCuorq9sEP 1NaGv4xxmARz6X7GbLI+L6GYzO81ORh5f61fr9LwGbHhkRF8Nfe5UYGb8F7xvZyR4eB3JfDWmKV2R ZCDliKpJf1pjRIPs8GxuIGZ89oIaI1osgKdXn9eifDfUdJgBGCi4ESrjj9fRENNXZfDXZaptBN5MN WDAV61oyOORebL6O7YXwqzXYOeziicPEnGXWd1ONBkqOL6JifvH9FRTrY6UUFkkDYePTD4mW2qaqS 9nz2oph1m7L+niE2mOQg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jBvvZ-00016F-MV; Wed, 11 Mar 2020 07:37:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jBvvW-00015n-A4 for linux-arm-kernel@lists.infradead.org; Wed, 11 Mar 2020 07:37:15 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6163320873; Wed, 11 Mar 2020 07:37:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583912234; bh=5P3Z06UnZqQEfWkPH8dglufqa0E6mtXAEl5e9YrDhiA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XOMKUeTdZ9QQpbji94SkTaHYey9IZBZcXWcohVRGyBgCZr70BGTxsiXebdw+uKvL5 jkQ0YUp45q9w7hSjexmzUBL+Rn2wRNZ7Vj0wRmskvD8zDGoQhB7CsG9seNfqkKULhy OBAWlH+FFEOdanwGB/N/UO+KNT9B+l+VLBPpH9ho= Date: Wed, 11 Mar 2020 15:37:07 +0800 From: Shawn Guo To: Marco Felsch Subject: Re: [PATCH 1/2] ARM: dts: imx6: phycore-som: explicit disable pmic watchdog during suspend Message-ID: <20200311073707.GQ29269@dragon> References: <20200227110605.22144-1-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200227110605.22144-1-m.felsch@pengutronix.de> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200311_003714_369350_D80919B7 X-CRM114-Status: GOOD ( 13.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: s.riedmueller@phytec.de, chf.fritz@googlemail.com, robh+dt@kernel.org, kernel@pengutronix.de, c.hemp@phytec.de, contact@stefanchrist.eu, s.christ@phytec.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Feb 27, 2020 at 12:06:04PM +0100, Marco Felsch wrote: > By default the phycore-som has support for two watchdog devices: 1st the > internal imx6 watchdog and 2nd the DA9062 PMIC watchdog. According [1] > the PMIC watchdog is used as boot watchdog. It is common to use this > watchdog during "system up" time too. Furthermore the PMIC watchdog can > be used to address ERR007117 since the phycore-som can be equipped with > NAND or eMMC storage. > > The PMIC watchdog can be enabled/disabled by the PMIC itself if the PMIC > enters POWERDOWN mode or by the host. The PMIC powerdown mode can't be > used due to the PCB design. So the watchdog is still enabled during a > suspend which causes a system reset. We need to tell the driver to > disable the watchdog during a system suspend and to reenable it upon a > resume to fix this. > > [1] https://git.pengutronix.de/cgit/barebox/tree/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi#n73 > > Signed-off-by: Marco Felsch Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel