1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) ST-Ericsson SA 2010
7 * ux500 Scroll key and Keypad Encoder (SKE) header
13 #include <linux/input/matrix_keypad.h>
15 /* register definitions for SKE peripheral */
30 * struct keypad_platform_data - structure for platform specific data
31 * @init: pointer to keypad init function
32 * @exit: pointer to keypad deinitialisation function
33 * @keymap_data: matrix scan code table for keycodes
34 * @krow: maximum number of rows
35 * @kcol: maximum number of columns
36 * @debounce_ms: platform specific debounce time
37 * @no_autorepeat: flag for auto repetition
38 * @wakeup_enable: allow waking up the system
40 struct ske_keypad_platform_data {
43 const struct matrix_keymap_data *keymap_data;
50 #endif /*__SKE_KPD_H*/