From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from host.buserror.net (host.buserror.net [209.198.135.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tNtXJ3KqzzDw1F for ; Wed, 23 Nov 2016 18:00:48 +1100 (AEDT) Date: Wed, 23 Nov 2016 01:00:36 -0600 From: Scott Wood To: Andy Fleming Cc: linuxppc-dev@lists.ozlabs.org, scottwood@freescale.com, aperez@alexperez.com Message-ID: <20161123070036.GA10541@home.buserror.net> References: <1477266519-25173-1-git-send-email-afleming@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1477266519-25173-1-git-send-email-afleming@gmail.com> Subject: Re: [v2,1/3] cyrus: Add poweroff/reset support List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Oct 23, 2016 at 06:48:37PM -0500, Andy Fleming wrote: > Cyrus uses GPIOs to complete board shutdown/reset. > Add nodes to indicate that support to the device tree. > > Signed-off-by: Andy Fleming > --- > v2: No changes > > arch/powerpc/boot/dts/fsl/cyrus_p5020.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts > index c603390..e417aaa 100644 > --- a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts > +++ b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts > @@ -150,6 +150,17 @@ > 0 0x00010000>; > }; > }; > + > + gpio-poweroff { > + compatible = "gpio-poweroff"; > + gpios = <&gpio0 3 1>; > + }; > + > + gpio-restart { > + compatible = "gpio-restart"; > + gpios = <&gpio0 2 1>; Please use tabs, not spaces. > + }; > + > }; Don't put a blank line here. -Scott