1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* linux/spi/ads7846.h */ 3 4 struct ads7846_platform_data { 5 u16 model; /* 784 6 u16 vref_delay_usecs; /* 0 f 7 u16 vref_mv; /* ext 8 * ads 9 bool keep_vref_on; /* set 10 * mea 11 bool swap_xy; /* swa 12 13 /* Settling time of the analog signals 14 * capacitance on the X/Y drivers. If 15 * are taken with settle_delay us apar 16 * ~150 uSec with 0.01uF caps. 17 */ 18 u16 settle_delay_usecs; 19 20 /* If set to non-zero, after samples a 21 * and penirq is rechecked, to help av 22 * is affected by the material used to 23 */ 24 u16 penirq_recheck_delay_usecs; 25 26 u16 x_plate_ohms; 27 u16 y_plate_ohms; 28 29 u16 x_min, x_max; 30 u16 y_min, y_max; 31 u16 pressure_min, pressure_max; 32 33 u16 debounce_max; /* max 34 * per 35 u16 debounce_tol; /* tol 36 u16 debounce_rep; /* add 37 * req 38 int gpio_pendown_debounce; /* pla 39 * the 40 int (*get_pendown_state)(void); 41 void (*wait_for_sync)(void); 42 bool wakeup; 43 unsigned long irq_flags; 44 }; 45 46
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.