From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: "Marek Behún" <kabel@kernel.org>, "Arnd Bergmann" <arnd@arndb.de>,
soc@kernel.org
Cc: arm@kernel.org, "Andy Shevchenko" <andy@kernel.org>,
"Hans de Goede" <hdegoede@redhat.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Marek Behún" <kabel@kernel.org>, "Andrew Lunn" <andrew@lunn.ch>,
"Sebastian Hesselbarth" <sebastian.hesselbarth@gmail.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Uwe Kleine-König" <uwe@kleine-koenig.org>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v13 8/8] ARM: dts: turris-omnia: Add GPIO key node for front button
Date: Fri, 05 Jul 2024 14:46:19 +0200 [thread overview]
Message-ID: <87cynsj9b8.fsf@BLaptop.bootlin.com> (raw)
In-Reply-To: <20240701113010.16447-9-kabel@kernel.org>
Marek Behún <kabel@kernel.org> writes:
> Now that we have the MCU device-tree node, which acts as a GPIO
> controller, add GPIO key node for the front button.
>
> Signed-off-by: Marek Behún <kabel@kernel.org>
Applied on mvebu/dt
Thanks,
Gregory
> ---
> .../boot/dts/marvell/armada-385-turris-omnia.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts b/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
> index 59079d63fe27..43202890c959 100644
> --- a/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
> +++ b/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
> @@ -112,6 +112,19 @@ sfp: sfp {
> status = "disabled";
> };
>
> + gpio-keys {
> + compatible = "gpio-keys";
> +
> + front-button {
> + label = "Front Button";
> + linux,code = <KEY_VENDOR>;
> + linux,can-disable;
> + gpios = <&mcu 0 12 GPIO_ACTIVE_HIGH>;
> + /* debouncing is done by the microcontroller */
> + debounce-interval = <0>;
> + };
> + };
> +
> sound {
> compatible = "simple-audio-card";
> simple-audio-card,name = "SPDIF";
> --
> 2.44.2
next prev parent reply other threads:[~2024-07-05 12:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-01 11:30 [PATCH v13 0/8] Turris Omnia MCU driver Marek Behún
2024-07-01 11:30 ` [PATCH v13 1/8] dt-bindings: firmware: add cznic,turris-omnia-mcu binding Marek Behún
2024-07-01 11:30 ` [PATCH v13 2/8] platform: cznic: Add preliminary support for Turris Omnia MCU Marek Behún
2024-07-01 11:30 ` [PATCH v13 3/8] platform: cznic: turris-omnia-mcu: Add support for MCU connected GPIOs Marek Behún
2024-07-01 11:30 ` [PATCH v13 4/8] platform: cznic: turris-omnia-mcu: Add support for poweroff and wakeup Marek Behún
2024-07-01 11:30 ` [PATCH v13 5/8] platform: cznic: turris-omnia-mcu: Add support for MCU watchdog Marek Behún
2024-07-01 11:30 ` [PATCH v13 6/8] platform: cznic: turris-omnia-mcu: Add support for MCU provided TRNG Marek Behún
2024-07-01 11:30 ` [PATCH v13 7/8] ARM: dts: turris-omnia: Add MCU system-controller node Marek Behún
2024-07-01 13:01 ` Andrew Lunn
2024-07-05 12:46 ` Gregory CLEMENT
2024-07-01 11:30 ` [PATCH v13 8/8] ARM: dts: turris-omnia: Add GPIO key node for front button Marek Behún
2024-07-01 13:01 ` Andrew Lunn
2024-07-05 12:46 ` Gregory CLEMENT [this message]
2024-07-01 21:00 ` [PATCH v13 0/8] Turris Omnia MCU driver patchwork-bot+linux-soc
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=87cynsj9b8.fsf@BLaptop.bootlin.com \
--to=gregory.clement@bootlin.com \
--cc=andrew@lunn.ch \
--cc=andy@kernel.org \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=kabel@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=robh@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=soc@kernel.org \
--cc=uwe@kleine-koenig.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.