All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] arm64: dts: Add poweroff button device node for APM X-Gene platform
@ 2015-06-26  8:01 ` Y Vo
  0 siblings, 0 replies; 6+ messages in thread
From: Y Vo @ 2015-06-26  8:01 UTC (permalink / raw)
  To: linus.walleij, linux-gpio, devicetree, linux-arm-kernel, arm,
	linux-kernel
  Cc: Y Vo, Phong Vo, Toan Le, patches, Loc Ho

This patch adds poweroff button device node to support poweroff feature
on APM X-Gene Mustang platform.

V1 change:
	- Remove unused property.

Y Vo (1):
  arm64: dts: Add poweroff button device node for APM X-Gene platform

 arch/arm64/boot/dts/apm/apm-mustang.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v1] arm64: dts: Add poweroff button device node for APM X-Gene platform
@ 2015-06-26  8:01 ` Y Vo
  0 siblings, 0 replies; 6+ messages in thread
From: Y Vo @ 2015-06-26  8:01 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds poweroff button device node to support poweroff feature
on APM X-Gene Mustang platform.

V1 change:
	- Remove unused property.

Y Vo (1):
  arm64: dts: Add poweroff button device node for APM X-Gene platform

 arch/arm64/boot/dts/apm/apm-mustang.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v1] arm64: dts: Add poweroff button device node for APM X-Gene platform
  2015-06-26  8:01 ` Y Vo
@ 2015-06-26  8:01   ` Y Vo
  -1 siblings, 0 replies; 6+ messages in thread
From: Y Vo @ 2015-06-26  8:01 UTC (permalink / raw)
  To: linus.walleij, linux-gpio, devicetree, linux-arm-kernel, arm,
	linux-kernel
  Cc: Y Vo, Phong Vo, Toan Le, patches, Loc Ho

This patch adds poweroff button device node to support poweroff feature
on APM X-Gene Mustang platform.

Signed-off-by: Y Vo <yvo@apm.com>
---
 arch/arm64/boot/dts/apm/apm-mustang.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/boot/dts/apm/apm-mustang.dts b/arch/arm64/boot/dts/apm/apm-mustang.dts
index 83578e7..4c55833 100644
--- a/arch/arm64/boot/dts/apm/apm-mustang.dts
+++ b/arch/arm64/boot/dts/apm/apm-mustang.dts
@@ -23,6 +23,16 @@
 		device_type = "memory";
 		reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
 	};
+
+	gpio-keys {
+		compatible = "gpio-keys";
+		button@1 {
+			label = "POWER";
+			linux,code = <116>;
+			linux,input-type = <0x1>;
+			interrupts = <0x0 0x2d 0x1>;
+		};
+	};
 };
 
 &pcie0clk {
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v1] arm64: dts: Add poweroff button device node for APM X-Gene platform
@ 2015-06-26  8:01   ` Y Vo
  0 siblings, 0 replies; 6+ messages in thread
From: Y Vo @ 2015-06-26  8:01 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds poweroff button device node to support poweroff feature
on APM X-Gene Mustang platform.

Signed-off-by: Y Vo <yvo@apm.com>
---
 arch/arm64/boot/dts/apm/apm-mustang.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/boot/dts/apm/apm-mustang.dts b/arch/arm64/boot/dts/apm/apm-mustang.dts
index 83578e7..4c55833 100644
--- a/arch/arm64/boot/dts/apm/apm-mustang.dts
+++ b/arch/arm64/boot/dts/apm/apm-mustang.dts
@@ -23,6 +23,16 @@
 		device_type = "memory";
 		reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
 	};
+
+	gpio-keys {
+		compatible = "gpio-keys";
+		button at 1 {
+			label = "POWER";
+			linux,code = <116>;
+			linux,input-type = <0x1>;
+			interrupts = <0x0 0x2d 0x1>;
+		};
+	};
 };
 
 &pcie0clk {
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v1] arm64: dts: Add poweroff button device node for APM X-Gene platform
  2015-06-26  8:01   ` Y Vo
@ 2015-07-08 21:10     ` Kevin Hilman
  -1 siblings, 0 replies; 6+ messages in thread
From: Kevin Hilman @ 2015-07-08 21:10 UTC (permalink / raw)
  To: Y Vo
  Cc: linus.walleij, linux-gpio, devicetree, linux-arm-kernel, arm,
	linux-kernel, Phong Vo, Toan Le, patches, Loc Ho

Y Vo <yvo@apm.com> writes:

> This patch adds poweroff button device node to support poweroff feature
> on APM X-Gene Mustang platform.
>
> Signed-off-by: Y Vo <yvo@apm.com>

Picking this up for v4.2-rc.

Applied to fixes branch,

Kevin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v1] arm64: dts: Add poweroff button device node for APM X-Gene platform
@ 2015-07-08 21:10     ` Kevin Hilman
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Hilman @ 2015-07-08 21:10 UTC (permalink / raw)
  To: linux-arm-kernel

Y Vo <yvo@apm.com> writes:

> This patch adds poweroff button device node to support poweroff feature
> on APM X-Gene Mustang platform.
>
> Signed-off-by: Y Vo <yvo@apm.com>

Picking this up for v4.2-rc.

Applied to fixes branch,

Kevin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-08 21:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-26  8:01 [PATCH v1] arm64: dts: Add poweroff button device node for APM X-Gene platform Y Vo
2015-06-26  8:01 ` Y Vo
2015-06-26  8:01 ` Y Vo
2015-06-26  8:01   ` Y Vo
2015-07-08 21:10   ` Kevin Hilman
2015-07-08 21:10     ` Kevin Hilman

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.