diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-06-20 02:12:33 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-06-20 06:22:38 +0200 |
commit | 33fe1a49ad23a63a60a816c99bdf6640f2314aea (patch) | |
tree | d2409ee24cf2c37b74e9f7e75613a717000466dd /arch/arm/mach-exynos | |
parent | ARM: S3C64XX: Dynamically assign interrupts for CPU PMIC on Cragganmore (diff) | |
download | linux-33fe1a49ad23a63a60a816c99bdf6640f2314aea.tar.xz linux-33fe1a49ad23a63a60a816c99bdf6640f2314aea.zip |
ARM: EXYNOS: Update keypad entries for SMDK4X12
Keypad entries are updated as per the latest revision of the board.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/mach-smdk4x12.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-exynos/mach-smdk4x12.c b/arch/arm/mach-exynos/mach-smdk4x12.c index fb09c70e195a..e134c9562f15 100644 --- a/arch/arm/mach-exynos/mach-smdk4x12.c +++ b/arch/arm/mach-exynos/mach-smdk4x12.c @@ -219,8 +219,10 @@ static struct platform_pwm_backlight_data smdk4x12_bl_data = { static uint32_t smdk4x12_keymap[] __initdata = { /* KEY(row, col, keycode) */ - KEY(1, 0, KEY_D), KEY(1, 1, KEY_A), KEY(1, 2, KEY_B), - KEY(1, 3, KEY_E), KEY(1, 4, KEY_C) + KEY(1, 3, KEY_1), KEY(1, 4, KEY_2), KEY(1, 5, KEY_3), + KEY(1, 6, KEY_4), KEY(1, 7, KEY_5), + KEY(2, 5, KEY_D), KEY(2, 6, KEY_A), KEY(2, 7, KEY_B), + KEY(0, 7, KEY_E), KEY(0, 5, KEY_C) }; static struct matrix_keymap_data smdk4x12_keymap_data __initdata = { @@ -230,8 +232,8 @@ static struct matrix_keymap_data smdk4x12_keymap_data __initdata = { static struct samsung_keypad_platdata smdk4x12_keypad_data __initdata = { .keymap_data = &smdk4x12_keymap_data, - .rows = 2, - .cols = 5, + .rows = 3, + .cols = 8, }; static struct platform_device *smdk4x12_devices[] __initdata = { |