From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751293AbdFEBvC (ORCPT ); Sun, 4 Jun 2017 21:51:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:44844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751238AbdFEBux (ORCPT ); Sun, 4 Jun 2017 21:50:53 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C754823958 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org Date: Mon, 5 Jun 2017 09:50:29 +0800 From: Shawn Guo To: Oleksij Rempel Cc: linux@rempel-orivat.de, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, Fabio Estevam , Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 5/5] ARM: dts: imx6: RIoTboard provide Standby to PowerOff option Message-ID: <20170605015027.GE4094@dragon> References: <20170529170924.25488-1-o.rempel@pengutronix.de> <20170529170924.25488-5-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170529170924.25488-5-o.rempel@pengutronix.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 29, 2017 at 07:09:24PM +0200, Oleksij Rempel wrote: > This board, as well as some other boards with i.MX6 and a PMIC, uses a > "MPIC_STBY_REQ" line to notify the PMIC about a state change. > The PMIC is programmed for a specific state change before triggering the > line. > In this case, PMIC_STBY_REQ can be used for Stand by, Sleep > and Power off modes. > > Signed-off-by: Oleksij Rempel > Cc: kernel@pengutronix.de > Cc: linux-arm-kernel@lists.infradead.org > Cc: Shawn Guo > Cc: Fabio Estevam > Cc: Rob Herring > Cc: Mark Rutland > Cc: Russell King > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > arch/arm/boot/dts/imx6dl-riotboard.dts | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts > index 2cb72824e800..b5f25fe7b809 100644 > --- a/arch/arm/boot/dts/imx6dl-riotboard.dts > +++ b/arch/arm/boot/dts/imx6dl-riotboard.dts > @@ -90,6 +90,10 @@ > status = "okay"; > }; > > +&clks { > + fsl,pmic_stby_poweroff; > +}; > + > &fec { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_enet>; > @@ -125,6 +129,7 @@ > reg = <0x08>; > interrupt-parent = <&gpio5>; > interrupts = <16 8>; > + fsl,pmic_stby_poweroff; Is this property supported by upstream kernel? Shawn > > regulators { > reg_vddcore: sw1ab { /* VDDARM_IN */ > -- > 2.11.0 >