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 {
22 int debounce_time; /* Time to watch for key bouncing, in ms. */
23 int active_time; /* Idle time until sleep, in ms. */
30 char *pwm1_name; /* Device name for PWM1. */
31 char *pwm2_name; /* Device name for PWM2. */
32 char *pwm3_name; /* Device name for PWM3. */
34 char *name; /* Device name. */
37 void __init lm8323_set_platform_data(struct lm8323_platform_data *pdata);
39 #endif /* __LINUX_LM8323_H */