All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vikas Sajjan <vikas.sajjan@samsung.com>
To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org
Cc: kgene.kim@samsung.com, tomasz.figa@gmail.com, joshi@samsung.com,
	sajjan.linux@gmail.com, Abhilash Kesavan <a.kesavan@samsung.com>,
	Vikas Sajjan <vikas.sajjan@samsung.com>
Subject: [PATCH V2 3/3] ARM: dts: Add node for GPIO keys on SMDK5420
Date: Thu, 27 Mar 2014 11:43:05 +0530	[thread overview]
Message-ID: <1395900785-11334-4-git-send-email-vikas.sajjan@samsung.com> (raw)
In-Reply-To: <1395900785-11334-1-git-send-email-vikas.sajjan@samsung.com>

From: Abhilash Kesavan <a.kesavan@samsung.com>

Add support for the suspend/resume button (SW7) on SMDK5420 using
gpio-keys driver.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
---
 arch/arm/boot/dts/exynos5420-smdk5420.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
index 6910485..5ae0dd4 100644
--- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
+++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
@@ -158,6 +158,17 @@
 		};
 	};
 
+	gpio-keys {
+		compatible = "gpio-keys";
+
+		wakeup {
+			label = "SW7";
+			gpios = <&gpx0 0 1>;
+			linux,code = <143>;	/* KEY_WAKEUP */
+			gpio-key,wakeup;
+		};
+	};
+
 	hsi2c_4: i2c@12CA0000 {
 		status = "okay";
 
-- 
1.7.9.5

WARNING: multiple messages have this Message-ID (diff)
From: vikas.sajjan@samsung.com (Vikas Sajjan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 3/3] ARM: dts: Add node for GPIO keys on SMDK5420
Date: Thu, 27 Mar 2014 11:43:05 +0530	[thread overview]
Message-ID: <1395900785-11334-4-git-send-email-vikas.sajjan@samsung.com> (raw)
In-Reply-To: <1395900785-11334-1-git-send-email-vikas.sajjan@samsung.com>

From: Abhilash Kesavan <a.kesavan@samsung.com>

Add support for the suspend/resume button (SW7) on SMDK5420 using
gpio-keys driver.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
---
 arch/arm/boot/dts/exynos5420-smdk5420.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
index 6910485..5ae0dd4 100644
--- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
+++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
@@ -158,6 +158,17 @@
 		};
 	};
 
+	gpio-keys {
+		compatible = "gpio-keys";
+
+		wakeup {
+			label = "SW7";
+			gpios = <&gpx0 0 1>;
+			linux,code = <143>;	/* KEY_WAKEUP */
+			gpio-key,wakeup;
+		};
+	};
+
 	hsi2c_4: i2c at 12CA0000 {
 		status = "okay";
 
-- 
1.7.9.5

  parent reply	other threads:[~2014-03-27  6:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27  6:13 [PATCH V2 0/3] Add PMU and S2R support for exynos5420 Vikas Sajjan
2014-03-27  6:13 ` Vikas Sajjan
2014-03-27  6:13 ` [PATCH V2 1/3] ARM: EXYNOS5: Add PMU settings " Vikas Sajjan
2014-03-27  6:13   ` Vikas Sajjan
2014-04-15 18:57   ` Tomasz Figa
2014-04-15 18:57     ` Tomasz Figa
2014-04-28 12:36     ` Vikas Sajjan
2014-04-28 12:36       ` Vikas Sajjan
2014-03-27  6:13 ` [PATCH V2 2/3] ARM: EXYNOS5: Support Suspend-to-RAM on EXYNOS5420 Vikas Sajjan
2014-03-27  6:13   ` Vikas Sajjan
2014-04-15 19:03   ` Tomasz Figa
2014-04-15 19:03     ` Tomasz Figa
2014-04-15 19:04     ` Tomasz Figa
2014-04-15 19:04       ` Tomasz Figa
2014-04-28 12:39     ` Vikas Sajjan
2014-04-28 12:39       ` Vikas Sajjan
2014-03-27  6:13 ` Vikas Sajjan [this message]
2014-03-27  6:13   ` [PATCH V2 3/3] ARM: dts: Add node for GPIO keys on SMDK5420 Vikas Sajjan
2014-04-15 19:06   ` Tomasz Figa
2014-04-15 19:06     ` Tomasz Figa
2014-04-11 13:17 ` [PATCH V2 0/3] Add PMU and S2R support for exynos5420 Vikas Sajjan
2014-04-11 13:17   ` Vikas Sajjan
2014-04-13 23:30   ` Tomasz Figa
2014-04-13 23:30     ` Tomasz Figa

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=1395900785-11334-4-git-send-email-vikas.sajjan@samsung.com \
    --to=vikas.sajjan@samsung.com \
    --cc=a.kesavan@samsung.com \
    --cc=joshi@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=sajjan.linux@gmail.com \
    --cc=tomasz.figa@gmail.com \
    /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.