Lines Matching defs:ads7846_platform_data
4 struct ads7846_platform_data { struct
5 u16 model; /* 7843, 7845, 7846, 7873. */
6 u16 vref_delay_usecs; /* 0 for external vref; etc */
7 u16 vref_mv; /* external vref value, milliVolts
9 bool keep_vref_on; /* set to keep vref on for differential
11 bool swap_xy; /* swap x and y axes */
18 u16 settle_delay_usecs;
24 u16 penirq_recheck_delay_usecs;
26 u16 x_plate_ohms;
27 u16 y_plate_ohms;
29 u16 x_min, x_max;
30 u16 y_min, y_max;
31 u16 pressure_min, pressure_max;
33 u16 debounce_max; /* max number of additional readings
35 u16 debounce_tol; /* tolerance used for filtering */
36 u16 debounce_rep; /* additional consecutive good readings
38 int gpio_pendown_debounce; /* platform specific debounce time for
40 int (*get_pendown_state)(void);
41 void (*wait_for_sync)(void);
42 bool wakeup;
43 unsigned long irq_flags;