summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise-kbc.c
diff options
context:
space:
mode:
authorAlok Chauhan <alokc@nvidia.com>2011-08-26 10:11:37 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:39 -0800
commit2a980cf42de84889b490c590992a0863d713d633 (patch)
tree957aecf5169f6fc6291d3030d55db2fed77a92b6 /arch/arm/mach-tegra/board-enterprise-kbc.c
parent288191ddf65270fcd2dafd861c845f050a4b9e47 (diff)
arm: tegra: kbc: Enabled more keys as wakeup source
Enabled Home, Back, Menu are as wakeup source keys Bug 866078 Original-Change-Id: If009a44f1db5b7d971a61f3cab5ece2ce4c3aefd Reviewed-on: http://git-master/r/49368 Reviewed-by: Alok Chauhan <alokc@nvidia.com> Tested-by: Alok Chauhan <alokc@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Rebase-Id: R6fceeb4b43b424ba33d4f125511d1b5d46f7ab07
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-kbc.c')
-rw-r--r--arch/arm/mach-tegra/board-enterprise-kbc.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-kbc.c b/arch/arm/mach-tegra/board-enterprise-kbc.c
index aee4d4098bd3..94bcbb946335 100644
--- a/arch/arm/mach-tegra/board-enterprise-kbc.c
+++ b/arch/arm/mach-tegra/board-enterprise-kbc.c
@@ -43,6 +43,18 @@ static struct tegra_kbc_wake_key enterprise_wake_cfg[] = {
.row = 0,
.col = 0,
},
+ [1] = {
+ .row = 1,
+ .col = 0,
+ },
+ [2] = {
+ .row = 1,
+ .col = 1,
+ },
+ [3] = {
+ .row = 2,
+ .col = 0,
+ },
};
static struct tegra_kbc_platform_data enterprise_kbc_platform_data = {
@@ -53,7 +65,7 @@ static struct tegra_kbc_platform_data enterprise_kbc_platform_data = {
.fn_keycode = NULL,
.is_filter_keys = false,
.is_wake_on_any_key = false,
- .wake_key_cnt = 1,
+ .wake_key_cnt = 4,
.wake_cfg = &enterprise_wake_cfg[0],
};