diff options
author | Tony Lindgren <tony@atomide.com> | 2010-08-02 07:23:38 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-02 07:23:38 -0400 |
commit | 055a1b8c9927bc587f293020a54c6cd8e24dfac0 (patch) | |
tree | db7c8d00931180c4896c9e00d2cb506939592cda /arch/arm/mach-omap2/board-rx51-peripherals.c | |
parent | 8a6f7e14fc3b3ea911838c3f4ce137cb8a3d134a (diff) | |
parent | f535daed925c2d3c1db06b06a63c4955f2c51988 (diff) |
Merge branch 'devel-misc' into omap-for-linus
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index a3a396ca2d32..9a5eb87425fc 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -185,6 +185,10 @@ static void __init rx51_add_gpio_keys(void) | |||
185 | #endif /* CONFIG_KEYBOARD_GPIO || CONFIG_KEYBOARD_GPIO_MODULE */ | 185 | #endif /* CONFIG_KEYBOARD_GPIO || CONFIG_KEYBOARD_GPIO_MODULE */ |
186 | 186 | ||
187 | static int board_keymap[] = { | 187 | static int board_keymap[] = { |
188 | /* | ||
189 | * Note that KEY(x, 8, KEY_XXX) entries represent "entrire row | ||
190 | * connected to the ground" matrix state. | ||
191 | */ | ||
188 | KEY(0, 0, KEY_Q), | 192 | KEY(0, 0, KEY_Q), |
189 | KEY(0, 1, KEY_O), | 193 | KEY(0, 1, KEY_O), |
190 | KEY(0, 2, KEY_P), | 194 | KEY(0, 2, KEY_P), |
@@ -192,6 +196,7 @@ static int board_keymap[] = { | |||
192 | KEY(0, 4, KEY_BACKSPACE), | 196 | KEY(0, 4, KEY_BACKSPACE), |
193 | KEY(0, 6, KEY_A), | 197 | KEY(0, 6, KEY_A), |
194 | KEY(0, 7, KEY_S), | 198 | KEY(0, 7, KEY_S), |
199 | |||
195 | KEY(1, 0, KEY_W), | 200 | KEY(1, 0, KEY_W), |
196 | KEY(1, 1, KEY_D), | 201 | KEY(1, 1, KEY_D), |
197 | KEY(1, 2, KEY_F), | 202 | KEY(1, 2, KEY_F), |
@@ -200,6 +205,7 @@ static int board_keymap[] = { | |||
200 | KEY(1, 5, KEY_J), | 205 | KEY(1, 5, KEY_J), |
201 | KEY(1, 6, KEY_K), | 206 | KEY(1, 6, KEY_K), |
202 | KEY(1, 7, KEY_L), | 207 | KEY(1, 7, KEY_L), |
208 | |||
203 | KEY(2, 0, KEY_E), | 209 | KEY(2, 0, KEY_E), |
204 | KEY(2, 1, KEY_DOT), | 210 | KEY(2, 1, KEY_DOT), |
205 | KEY(2, 2, KEY_UP), | 211 | KEY(2, 2, KEY_UP), |
@@ -207,6 +213,8 @@ static int board_keymap[] = { | |||
207 | KEY(2, 5, KEY_Z), | 213 | KEY(2, 5, KEY_Z), |
208 | KEY(2, 6, KEY_X), | 214 | KEY(2, 6, KEY_X), |
209 | KEY(2, 7, KEY_C), | 215 | KEY(2, 7, KEY_C), |
216 | KEY(2, 8, KEY_F9), | ||
217 | |||
210 | KEY(3, 0, KEY_R), | 218 | KEY(3, 0, KEY_R), |
211 | KEY(3, 1, KEY_V), | 219 | KEY(3, 1, KEY_V), |
212 | KEY(3, 2, KEY_B), | 220 | KEY(3, 2, KEY_B), |
@@ -215,20 +223,23 @@ static int board_keymap[] = { | |||
215 | KEY(3, 5, KEY_SPACE), | 223 | KEY(3, 5, KEY_SPACE), |
216 | KEY(3, 6, KEY_SPACE), | 224 | KEY(3, 6, KEY_SPACE), |
217 | KEY(3, 7, KEY_LEFT), | 225 | KEY(3, 7, KEY_LEFT), |
226 | |||
218 | KEY(4, 0, KEY_T), | 227 | KEY(4, 0, KEY_T), |
219 | KEY(4, 1, KEY_DOWN), | 228 | KEY(4, 1, KEY_DOWN), |
220 | KEY(4, 2, KEY_RIGHT), | 229 | KEY(4, 2, KEY_RIGHT), |
221 | KEY(4, 4, KEY_LEFTCTRL), | 230 | KEY(4, 4, KEY_LEFTCTRL), |
222 | KEY(4, 5, KEY_RIGHTALT), | 231 | KEY(4, 5, KEY_RIGHTALT), |
223 | KEY(4, 6, KEY_LEFTSHIFT), | 232 | KEY(4, 6, KEY_LEFTSHIFT), |
233 | KEY(4, 8, KEY_F10), | ||
234 | |||
224 | KEY(5, 0, KEY_Y), | 235 | KEY(5, 0, KEY_Y), |
236 | KEY(5, 8, KEY_F11), | ||
237 | |||
225 | KEY(6, 0, KEY_U), | 238 | KEY(6, 0, KEY_U), |
239 | |||
226 | KEY(7, 0, KEY_I), | 240 | KEY(7, 0, KEY_I), |
227 | KEY(7, 1, KEY_F7), | 241 | KEY(7, 1, KEY_F7), |
228 | KEY(7, 2, KEY_F8), | 242 | KEY(7, 2, KEY_F8), |
229 | KEY(0xff, 2, KEY_F9), | ||
230 | KEY(0xff, 4, KEY_F10), | ||
231 | KEY(0xff, 5, KEY_F11), | ||
232 | }; | 243 | }; |
233 | 244 | ||
234 | static struct matrix_keymap_data board_map_data = { | 245 | static struct matrix_keymap_data board_map_data = { |