struct matrix_keypad_platform_data — platform-dependent keypad data
struct matrix_keypad_platform_data { const struct matrix_keymap_data * keymap_data; const unsigned int * row_gpios; const unsigned int * col_gpios; unsigned int num_row_gpios; unsigned int num_col_gpios; unsigned int col_scan_delay_us; unsigned int debounce_ms; unsigned int clustered_irq; unsigned int clustered_irq_flags; bool active_low; bool wakeup; bool no_autorepeat; };
pointer to matrix_keymap_data
pointer to array of gpio numbers representing rows
pointer to array of gpio numbers reporesenting colums
actual number of row gpios used by device
actual number of col gpios used by device
delay, measured in microseconds, that is needed before we can keypad after activating column gpio
debounce interval in milliseconds
may be specified if interrupts of all row/column GPIOs are bundled to one single irq
flags that are needed for the clustered irq
gpio polarity
controls whether the device should be set up as wakeup source
disable key autorepeat