summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra20-paz00.dts
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-12-02 17:09:57 +0400
committerStephen Warren <swarren@nvidia.com>2013-12-17 01:09:20 +0400
commit6bccbd5e18f65ca57b509ad25c9a8b0ad208627e (patch)
treea28f76d51f62232ac6c8305b9a2773bf2427b7b9 /arch/arm/boot/dts/tegra20-paz00.dts
parente013485d12456e83838687cb779aebf366fd4fa1 (diff)
downloadlinux-6bccbd5e18f65ca57b509ad25c9a8b0ad208627e.tar.xz
ARM: tegra: convert device tree files to use key defines
Use key code macros for all key code refernced for keys. For tegra20-seaboard.dts and tegra20-harmony.dts: The key comment for key (16th row and 1st column) is KEY_KPSLASH but code is 0x004e which is the key code for KEY_KPPLUS. As there other key exist with KY_KPPLUS, I am assuming key code is wrong and comment is fine. With this assumption, I am keeping the key code as KEY_KPSLASH. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-paz00.dts')
-rw-r--r--arch/arm/boot/dts/tegra20-paz00.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts
index 4b961b1b4252..31c14d09b5af 100644
--- a/arch/arm/boot/dts/tegra20-paz00.dts
+++ b/arch/arm/boot/dts/tegra20-paz00.dts
@@ -1,5 +1,6 @@
/dts-v1/;
+#include <dt-bindings/input/input.h>
#include "tegra20.dtsi"
/ {
@@ -488,7 +489,7 @@
power {
label = "Power";
gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
- linux,code = <116>; /* KEY_POWER */
+ linux,code = <KEY_POWER>;
gpio-key,wakeup;
};
};