4 * Configuration for LM8323 keypad driver.
7 #ifndef __LINUX_LM8323_H
8 #define __LINUX_LM8323_H
10 #include <linux/types.h>
13 * Largest keycode that the chip can send, plus one,
14 * so keys can be mapped directly at the index of the
15 * LM8323 keycode instead of subtracting one.
17 #define LM8323_KEYMAP_SIZE (0x7f + 1)
19 struct lm8323_platform_data {
20 int debounce_time; /* Time to watch for key bouncing, in ms. */
21 int active_time; /* Idle time until sleep, in ms. */
28 char *pwm1_name; /* Device name for PWM1. */
29 char *pwm2_name; /* Device name for PWM2. */
30 char *pwm3_name; /* Device name for PWM3. */
32 char *name; /* Device name. */
35 void __init lm8323_set_platform_data(struct lm8323_platform_data *pdata);
37 #endif /* __LINUX_LM8323_H */