diff options
author | Bryan Wu <cooloney@kernel.org> | 2008-08-27 02:51:02 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-08-27 02:51:02 (GMT) |
commit | 639f6571458948b5112be2cf00c0c2c04db2897d (patch) | |
tree | a4dd7af33d0e92c935ba1e904f6fb7e923ac825e /arch/blackfin/mach-bf548/include/mach/bf54x_keys.h | |
parent | 3d9b7a5ce534f3963afcf8f4777267e5899fe007 (diff) | |
download | linux-fsl-qoriq-639f6571458948b5112be2cf00c0c2c04db2897d.tar.xz |
Blackfin arch: move include/asm-blackfin header files to arch/blackfin
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf548/include/mach/bf54x_keys.h')
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/bf54x_keys.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h b/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h new file mode 100644 index 0000000..1fb4ec7 --- /dev/null +++ b/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h @@ -0,0 +1,17 @@ +#ifndef _BFIN_KPAD_H +#define _BFIN_KPAD_H + +struct bfin_kpad_platform_data { + int rows; + int cols; + const unsigned int *keymap; + unsigned short keymapsize; + unsigned short repeat; + u32 debounce_time; /* in ns */ + u32 coldrive_time; /* in ns */ + u32 keyup_test_interval; /* in ms */ +}; + +#define KEYVAL(col, row, val) (((1 << col) << 24) | ((1 << row) << 16) | (val)) + +#endif |