Linux Samsung SOC development
 help / color / mirror / Atom feed
* [PATCH v3 2/2] ARM: dts: fixed gpio key node for exynos4412
@ 2014-05-20 10:48 Beomho Seo
  0 siblings, 0 replies; only message in thread
From: Beomho Seo @ 2014-05-20 10:48 UTC (permalink / raw)
  To: linux-samsung-soc, devicetree, Tomasz Figa, Kukjin Kim
  Cc: Myungjoo Ham, Chanwoo Choi, Jaehoon Chung

This patch fixed gpio key device node.
First, fix incorrect gpio property.
And then, add ok-key node where locate bottom center.
I have tested on exynos4412-trats2 board.

Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
---
Changes in v3:
- Remove interrupt-parent, interrupts properties.

Changes in v2:
- None.
---
 arch/arm/boot/dts/exynos4412-trats2.dts |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index dda7517..bfefe22 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -115,32 +115,35 @@
 		compatible = "gpio-keys";

 		key-down {
-			interrupt-parent = <&gpj1>;
-			interrupts = <2 0>;
-			gpios = <&gpj1 2 1>;
+			gpios = <&gpx3 3 1>;
 			linux,code = <114>;
 			label = "volume down";
 			debounce-interval = <10>;
 		};

 		key-up {
-			interrupt-parent = <&gpj1>;
-			interrupts = <1 0>;
-			gpios = <&gpj1 1 1>;
+			gpios = <&gpx2 2 1>;
 			linux,code = <115>;
 			label = "volume up";
 			debounce-interval = <10>;
 		};

 		key-power {
-			interrupt-parent = <&gpx2>;
-			interrupts = <7 0>;
 			gpios = <&gpx2 7 1>;
 			linux,code = <116>;
 			label = "power";
 			debounce-interval = <10>;
 			gpio-key,wakeup;
 		};
+
+		key-ok {
+			gpios = <&gpx0 1 1>;
+			linux,code = <139>;
+			label = "ok";
+			debounce-inteval = <10>;
+			gpio-key,wakeup;
+		};
+
 	};

 	adc: adc@126C0000 {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-20 10:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-20 10:48 [PATCH v3 2/2] ARM: dts: fixed gpio key node for exynos4412 Beomho Seo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox