'\" t .\" Title: struct matrix_keypad_platform_data .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Input Subsystem .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT MATRIX_KEYPAD" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Input Subsystem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_matrix_keypad_platform_data \- platform\-dependent keypad data .SH "SYNOPSIS" .sp .nf 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; }; .fi .SH "MEMBERS" .PP keymap_data .RS 4 pointer to matrix_keymap_data .RE .PP row_gpios .RS 4 pointer to array of gpio numbers representing rows .RE .PP col_gpios .RS 4 pointer to array of gpio numbers reporesenting colums .RE .PP num_row_gpios .RS 4 actual number of row gpios used by device .RE .PP num_col_gpios .RS 4 actual number of col gpios used by device .RE .PP col_scan_delay_us .RS 4 delay, measured in microseconds, that is needed before we can keypad after activating column gpio .RE .PP debounce_ms .RS 4 debounce interval in milliseconds .RE .PP clustered_irq .RS 4 may be specified if interrupts of all row/column GPIOs are bundled to one single irq .RE .PP clustered_irq_flags .RS 4 flags that are needed for the clustered irq .RE .PP active_low .RS 4 gpio polarity .RE .PP wakeup .RS 4 controls whether the device should be set up as wakeup source .RE .PP no_autorepeat .RS 4 disable key autorepeat .RE .SH "DESCRIPTION" .PP This structure represents platform\-specific data that use used by matrix_keypad driver to perform proper initialization\&. .SH "COPYRIGHT" .br