diff mbox

[1/2] ARM: dts: Add wake up key to Arndale octa board

Message ID 1387356339-14082-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat Dec. 18, 2013, 8:45 a.m. UTC
Added GPIO based wake up key to Arndale octa board.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Kim Kukjin Feb. 24, 2014, 12:25 a.m. UTC | #1
On 12/18/13 17:45, Sachin Kamat wrote:
> Added GPIO based wake up key to Arndale octa board.
>
> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> ---
>   arch/arm/boot/dts/exynos5420-arndale-octa.dts |   11 +++++++++++
>   1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> index edd933feaf48..240caab5129f 100644
> --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> @@ -12,6 +12,7 @@
>   /dts-v1/;
>   #include "exynos5420.dtsi"
>   #include<dt-bindings/interrupt-controller/irq.h>
> +#include<dt-bindings/input/input.h>
>
>   / {
>   	model = "Insignal Arndale Octa evaluation board based on EXYNOS5420";
> @@ -349,4 +350,14 @@
>   		};
>   	};
>
> +	gpio_keys {
> +		compatible = "gpio-keys";
> +
> +		wakeup {
> +			label = "SW-TACT1";
> +			gpios =<&gpx2 7 1>;
> +			linux,code =<KEY_WAKEUP>;
> +			gpio-key,wakeup;
> +		};
> +	};
>   };

Applied with 2/2 patch, thanks.

- Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
index edd933feaf48..240caab5129f 100644
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
@@ -12,6 +12,7 @@ 
 /dts-v1/;
 #include "exynos5420.dtsi"
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/input/input.h>
 
 / {
 	model = "Insignal Arndale Octa evaluation board based on EXYNOS5420";
@@ -349,4 +350,14 @@ 
 		};
 	};
 
+	gpio_keys {
+		compatible = "gpio-keys";
+
+		wakeup {
+			label = "SW-TACT1";
+			gpios = <&gpx2 7 1>;
+			linux,code = <KEY_WAKEUP>;
+			gpio-key,wakeup;
+		};
+	};
 };