From: Scott Wood <oss@buserror•net>
To: Andy Fleming <afleming@gmail•com>
Cc: linuxppc-dev@lists•ozlabs.org, scottwood@freescale•com,
aperez@alexperez•com
Subject: Re: [v2,1/3] cyrus: Add poweroff/reset support
Date: Wed, 23 Nov 2016 01:00:36 -0600 [thread overview]
Message-ID: <20161123070036.GA10541@home.buserror.net> (raw)
In-Reply-To: <1477266519-25173-1-git-send-email-afleming@gmail.com>
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 <afleming@gmail•com>
> ---
> 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
prev parent reply other threads:[~2016-11-23 7:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-23 23:48 [PATCH v2 1/3] cyrus: Add poweroff/reset support Andy Fleming
2016-10-23 23:48 ` [PATCH 2/3] 85xx: Enable gpio power/reset driver Andy Fleming
2016-10-24 16:16 ` Cyrus_5040.dts Misisng luigi burdo
2017-07-05 15:37 ` 85xx: Enable gpio power/reset driver Darren Stevens
2016-10-23 23:48 ` [PATCH 3/3] corenet: Switch to of_platform_default_populate Andy Fleming
2016-10-24 21:43 ` Scott Wood
2016-11-23 7:00 ` Scott Wood [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161123070036.GA10541@home.buserror.net \
--to=oss@buserror$(echo .)net \
--cc=afleming@gmail$(echo .)com \
--cc=aperez@alexperez$(echo .)com \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=scottwood@freescale$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox