2 * Copyright 2007-2008 Analog Devices Inc.
4 * Licensed under the GPL-2 or later.
10 struct bfin_kpad_platform_data {
13 const unsigned int *keymap;
14 unsigned short keymapsize;
15 unsigned short repeat;
16 u32 debounce_time; /* in ns */
17 u32 coldrive_time; /* in ns */
18 u32 keyup_test_interval; /* in ms */
21 #define KEYVAL(col, row, val) (((1 << col) << 24) | ((1 << row) << 16) | (val))