summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2010-07-20 16:39:22 +0530
committerGary King <gking@nvidia.com>2010-07-21 08:54:43 -0700
commit8ec5b7e6e9f15a341dd72bb4ee0387197df9571f (patch)
treefd592cb079ea6c014bf1f6dd467d8e3a5e985dbc /arch/arm
parent9be36709fcf089c48299dd4b9d3a5fd25782f6f2 (diff)
[odm] ventana: Adding support for volup/down and onkey.
Adding the entry for volume-up, volume-down and onkey of ventana to support these keys events. Change-Id: Ia01f369626052de7a76361d47b6df1d5839b7353 Reviewed-on: http://git-master/r/4141 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-tegra/odm_kit/query/ventana/nvodm_query_gpio.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/odm_kit/query/ventana/nvodm_query_gpio.c b/arch/arm/mach-tegra/odm_kit/query/ventana/nvodm_query_gpio.c
index 4700a8be7210..2e714d2f4b6b 100644
--- a/arch/arm/mach-tegra/odm_kit/query/ventana/nvodm_query_gpio.c
+++ b/arch/arm/mach-tegra/odm_kit/query/ventana/nvodm_query_gpio.c
@@ -138,18 +138,19 @@ static const NvOdmGpioPinKeyInfo s_GpioPinKeyInfo[] = {
{KEY_MENU, 10, NV_TRUE},
{KEY_HOME, 10, NV_TRUE},
{KEY_BACK, 10, NV_TRUE},
- {KEY_VOLUMEUP, 10, NV_TRUE},
{KEY_VOLUMEDOWN, 10, NV_TRUE},
+ {KEY_VOLUMEUP, 10, NV_TRUE},
};
// Gpio based keypad
static const NvOdmGpioPinInfo s_GpioKeyBoard[] = {
- {NVODM_PORT('q'), 0, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[0]},
+ {NVODM_PORT('c'), 7, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[0]},
{NVODM_PORT('q'), 1, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[1]},
{NVODM_PORT('q'), 2, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[2]},
- {NVODM_PORT('q'), 3, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[3]},
- {NVODM_PORT('q'), 4, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[4]},
+ {NVODM_PORT('q'), 4, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[3]},
+ {NVODM_PORT('q'), 5, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[4]},
+ {NVODM_PORT('v'), 2, NvOdmGpioPinActiveState_Low, (void *)&s_GpioPinKeyInfo[0]},
};
static const NvOdmGpioPinInfo s_Battery[] = {