Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4781797imm; Tue, 11 Sep 2018 18:12:47 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb8CWST2cuXzwN6VzgpMiR8zXpoJs7C2TQqIA9BabQ1991fE5Lc2xhKbbn7SyJ8duokud1x X-Received: by 2002:a63:6b86:: with SMTP id g128-v6mr30816395pgc.344.1536714767382; Tue, 11 Sep 2018 18:12:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536714767; cv=none; d=google.com; s=arc-20160816; b=cTrv+w9C06S/vEk5CDSB2ii+cW4xukVUuaZMjGUoEIY+scG6LvJkYZW2UBGPZ5SSX/ 2FB5pTw2Rj2UU4nHNEgc6IU9AcGKHK9KfVRGqXkDEDMaWqq/2sqxkDsCtkadYNo02jBv mgEXoDcBAmpGfrTEvUIfWvPI59D7X1vJu6UI5xSPAE8KFAF0e8mG0kXRkeTAainvNe59 Z+zc52FFiE8ofYmiMNIpSRk6a2fhPZwsdoopaRCxHqlIn7nlADCEMpMqbu9+Jwk5ePt+ vbgM4MmSP5vaNA+fKi5XPxecPEKWoUOYqa32h18J5v02mEMBk1paV08/r3K3HkEPvUcx rQ9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XmhuA8di+fSgy38WEhyOiVAVQr53CSKh6hIU1LBuhoM=; b=zj9D5M+5wR6npo17c/zqJOu+sxhuvYStNXJa2DNaocVKKLM1fQ1dEbhbK8LAMAXmiI QfNh7ZvHaZTf/Pe//PVnEk89klhm3fZePgixHGWFyX89xbRCJEXFVbpZhNA2wcaCQ80x DSgUFnvdnhKGscZ/0Ue/73YjoJ+NLhHCmZdMTwuKcNCJG5srBV4wxmXNdelEFD+5cvEm YwqEC5cceIiDngvryJgJ/lgnpsV8qQTkROYM++S0jNOAUV4iiMngayu5oVf0sG3hejeZ n9ODqCZrQURfbDXeifSyanj3iKGn6nEi9A2FuEDmQaEz56RKs6pIg1f5G50kWtGJ0mbt stxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="dN0//W7E"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 184-v6si19763439pgi.614.2018.09.11.18.12.32; Tue, 11 Sep 2018 18:12:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="dN0//W7E"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728153AbeILGOR (ORCPT + 99 others); Wed, 12 Sep 2018 02:14:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:35286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbeILGOR (ORCPT ); Wed, 12 Sep 2018 02:14:17 -0400 Received: from dragon (unknown [104.237.86.3]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0937320866; Wed, 12 Sep 2018 01:12:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536714740; bh=7ImKEDSs2tSNfD4cCw2j1hIslvbbl3GX/lGsCv8TLr0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dN0//W7EwG8w4rOwstJIWo+aHcCSqV/rBv7PKPXEHcDr8CM8/pby+Xr6DuxdzGPTS rHgImHfoBjpNxRMMiaLDFr3yjwrQRd4ndH9ys4ECEgoTy8mSjnLXMwriO9yYCv1qwm 6Q4zJz4WqvFgmNGW5k7wHY+kp77gc6AvYvf1C43k= Date: Wed, 12 Sep 2018 09:10:34 +0800 From: Shawn Guo To: Oleksij Rempel Cc: Mark Brown , "Rafael J. Wysocki" , kernel@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Liam Girdwood , Leonard Crestez , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , Fabio Estevam , Russell King , linux-imx@nxp.com, yibin.gong@nxp.com, "A.s. Dong" Subject: Re: [PATCH v9 2/6] ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set Message-ID: <20180912011033.GB28469@dragon> References: <20180802103425.3053-1-o.rempel@pengutronix.de> <20180802103425.3053-3-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180802103425.3053-3-o.rempel@pengutronix.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 02, 2018 at 12:34:21PM +0200, Oleksij Rempel wrote: > One of the Freescale recommended sequences for power off with external > PMIC is the following: > ... > 3. SoC is programming PMIC for power off when standby is asserted. > 4. In CCM STOP mode, Standby is asserted, PMIC gates SoC supplies. > > See: > http://www.nxp.com/assets/documents/data/en/reference-manuals/IMX6DQRM.pdf > page 5083 > > This patch implements step 4. of this sequence. > > Signed-off-by: Oleksij Rempel Applied, thanks.