mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexandre Torgue <alexandre.torgue@st.com>
To: Benjamin Gaignard <benjamin.gaignard@linaro.org>,
	<robh+dt@kernel.org>, <mark.rutland@arm.com>,
	<linux@armlinux.org.uk>, <mcoquelin.stm32@gmail.com>
Cc: <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>,
	Benjamin Gaignard <benjamin.gaignard@st.com>
Subject: Re: [PATCH] ARM: dts: stm32: Add push button to stm32f469 Discovery board
Date: Tue, 27 Feb 2018 16:54:33 +0100	[thread overview]
Message-ID: <05594721-12b9-e286-8494-031314c0662d@st.com> (raw)
In-Reply-To: <20180117094005.20728-3-benjamin.gaignard@st.com>

hi

On 01/17/2018 10:40 AM, Benjamin Gaignard wrote:
> Add node for user push button.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
> ---
>   arch/arm/boot/dts/stm32f469-disco.dts | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
> index 5e9994840a24..c93d83d53bc8 100644
> --- a/arch/arm/boot/dts/stm32f469-disco.dts
> +++ b/arch/arm/boot/dts/stm32f469-disco.dts
> @@ -86,6 +86,18 @@
>   			gpios = <&gpiok 3 1>;
>   	};
>   
> +	gpio_keys {
> +		compatible = "gpio-keys";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		autorepeat;
> +		button@0 {
> +			label = "User";
> +			linux,code = <KEY_WAKEUP>;
> +			gpios = <&gpioa 0 0>;
> +		};
> +	};
> +
>   	/* This turns on vbus for otg for host mode (dwc2) */
>   	vcc5v_otg: vcc5v-otg-regulator {
>   		compatible = "regulator-fixed";
> 


Applied on stm32-next.

thanks
alex

  reply	other threads:[~2018-02-27 15:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-17  9:40 [PATCH] ARM: dts: stm32: Add leds support " Benjamin Gaignard
2018-01-17  9:40 ` [PATCH] ARM: dts: stm32: Add leds support to stm32f769 " Benjamin Gaignard
2018-02-27 15:54   ` Alexandre Torgue
2018-01-17  9:40 ` [PATCH] ARM: dts: stm32: Add push button to stm32f469 " Benjamin Gaignard
2018-02-27 15:54   ` Alexandre Torgue [this message]
2018-01-17  9:40 ` [PATCH] ARM: dts: stm32: Add push button to stm32f769 " Benjamin Gaignard
2018-02-27 15:54   ` Alexandre Torgue
2018-02-27 15:54 ` [PATCH] ARM: dts: stm32: Add leds support to stm32f469 " Alexandre Torgue

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=05594721-12b9-e286-8494-031314c0662d@st.com \
    --to=alexandre.torgue@st.com \
    --cc=benjamin.gaignard@linaro.org \
    --cc=benjamin.gaignard@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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

all inboxes | Powered by JetHome®