From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: [PATCH 08/10] ARM: tegra: Enable power key on Venice2
Date: Thu, 19 Dec 2013 17:06:20 +0100 [thread overview]
Message-ID: <1387469182-14398-9-git-send-email-treding@nvidia.com> (raw)
In-Reply-To: <1387469182-14398-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Contrary to the rest of the keyboard, which is connected to the ChromeOS
embedded controller, the power key is hooked up to a GPIO. Add a device
tree node to handle it.
Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/tegra124-venice2.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
index 0f6ff681b14b..b770e903fabb 100644
--- a/arch/arm/boot/dts/tegra124-venice2.dts
+++ b/arch/arm/boot/dts/tegra124-venice2.dts
@@ -739,6 +739,18 @@
};
};
+ gpio-keys {
+ compatible = "gpio-keys";
+
+ power {
+ label = "Power";
+ gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_POWER>;
+ debounce-interval = <10>;
+ gpio-key,wakeup;
+ };
+ };
+
panel: panel {
compatible = "lg,lp129qe", "simple-panel";
--
1.8.4.2
next prev parent reply other threads:[~2013-12-19 16:06 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-19 16:06 [PATCH 00/10] ARM: tegra: Enable a bunch of functionality on Venice2 Thierry Reding
[not found] ` <1387469182-14398-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 16:06 ` [PATCH 01/10] ARM: tegra: Add AS3722 PMIC " Thierry Reding
[not found] ` <1387469182-14398-2-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 20:24 ` Stephen Warren
[not found] ` <52B355EC.9040306-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 6:53 ` Laxman Dewangan
[not found] ` <52B3E968.8090906-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-20 10:25 ` Thierry Reding
[not found] ` <20131220102542.GJ27787-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-12-20 10:46 ` Laxman Dewangan
[not found] ` <52B41FEA.7020608-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-20 16:57 ` Stephen Warren
[not found] ` <52B476EA.2040401-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 17:25 ` Laxman Dewangan
2013-12-19 21:47 ` Stephen Warren
[not found] ` <52B3695D.70601-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 11:14 ` Thierry Reding
[not found] ` <20131220111442.GK27787-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-12-20 17:02 ` Stephen Warren
2013-12-19 16:06 ` [PATCH 02/10] ARM: tegra: Hook up SDMMC3 power-supply " Thierry Reding
2013-12-19 16:06 ` [PATCH 03/10] ARM: tegra: Add Tegra124 host1x support Thierry Reding
2013-12-19 16:06 ` [PATCH 04/10] ARM: tegra: Add Tegra124 eDP support Thierry Reding
[not found] ` <1387469182-14398-5-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 20:46 ` Stephen Warren
[not found] ` <52B35B15.4090008-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 11:17 ` Thierry Reding
2013-12-19 16:06 ` [PATCH 05/10] ARM: tegra: Enable eDP for Venice2 Thierry Reding
[not found] ` <1387469182-14398-6-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 21:40 ` Stephen Warren
[not found] ` <52B367C7.9010301-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 10:20 ` Thierry Reding
[not found] ` <20131220102024.GI27787-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-12-20 17:01 ` Stephen Warren
2013-12-19 16:06 ` [PATCH 06/10] ARM: tegra: Add SPI controller nodes for Tegra124 Thierry Reding
[not found] ` <1387469182-14398-7-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 20:38 ` Stephen Warren
[not found] ` <52B35944.8090307-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 11:15 ` Thierry Reding
2013-12-19 16:06 ` [PATCH 07/10] ARM: tegra: Enable Venice2 keyboard Thierry Reding
[not found] ` <1387469182-14398-8-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-20 17:56 ` Stephen Warren
2013-12-19 16:06 ` Thierry Reding [this message]
2013-12-19 16:06 ` [PATCH 09/10] ARM: tegra: Add Tegra124 USB support Thierry Reding
2013-12-19 16:06 ` [PATCH 10/10] ARM: tegra: Enable USB on Venice2 Thierry Reding
[not found] ` <1387469182-14398-11-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 21:37 ` Stephen Warren
[not found] ` <52B36720.8080205-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 2:59 ` Jim Lin
2013-12-20 11:53 ` Thierry Reding
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=1387469182-14398-9-git-send-email-treding@nvidia.com \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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;
as well as URLs for NNTP newsgroup(s).