aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-06-19 20:12:33 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-06-20 00:22:38 -0400
commit33fe1a49ad23a63a60a816c99bdf6640f2314aea (patch)
treed2409ee24cf2c37b74e9f7e75613a717000466dd /arch/arm/mach-exynos
parent4f057aa0dcb2660bb09ead75d829a19ec71319f1 (diff)
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.c10
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 = {
219 219
220static uint32_t smdk4x12_keymap[] __initdata = { 220static uint32_t smdk4x12_keymap[] __initdata = {
221 /* KEY(row, col, keycode) */ 221 /* KEY(row, col, keycode) */
222 KEY(1, 0, KEY_D), KEY(1, 1, KEY_A), KEY(1, 2, KEY_B), 222 KEY(1, 3, KEY_1), KEY(1, 4, KEY_2), KEY(1, 5, KEY_3),
223 KEY(1, 3, KEY_E), KEY(1, 4, KEY_C) 223 KEY(1, 6, KEY_4), KEY(1, 7, KEY_5),
224 KEY(2, 5, KEY_D), KEY(2, 6, KEY_A), KEY(2, 7, KEY_B),
225 KEY(0, 7, KEY_E), KEY(0, 5, KEY_C)
224}; 226};
225 227
226static struct matrix_keymap_data smdk4x12_keymap_data __initdata = { 228static struct matrix_keymap_data smdk4x12_keymap_data __initdata = {
@@ -230,8 +232,8 @@ static struct matrix_keymap_data smdk4x12_keymap_data __initdata = {
230 232
231static struct samsung_keypad_platdata smdk4x12_keypad_data __initdata = { 233static struct samsung_keypad_platdata smdk4x12_keypad_data __initdata = {
232 .keymap_data = &smdk4x12_keymap_data, 234 .keymap_data = &smdk4x12_keymap_data,
233 .rows = 2, 235 .rows = 3,
234 .cols = 5, 236 .cols = 8,
235}; 237};
236 238
237static struct platform_device *smdk4x12_devices[] __initdata = { 239static struct platform_device *smdk4x12_devices[] __initdata = {