~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/spi/ads7846.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/spi/ads7846.h (Version linux-6.12-rc7) and /include/linux/spi/ads7846.h (Version linux-6.5.13)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /* linux/spi/ads7846.h */                           2 /* linux/spi/ads7846.h */
  3                                                     3 
  4 struct ads7846_platform_data {                      4 struct ads7846_platform_data {
  5         u16     model;                  /* 784      5         u16     model;                  /* 7843, 7845, 7846, 7873. */
  6         u16     vref_delay_usecs;       /* 0 f      6         u16     vref_delay_usecs;       /* 0 for external vref; etc */
  7         u16     vref_mv;                /* ext      7         u16     vref_mv;                /* external vref value, milliVolts
  8                                          * ads      8                                          * ads7846: if 0, use internal vref */
  9         bool    keep_vref_on;           /* set      9         bool    keep_vref_on;           /* set to keep vref on for differential
 10                                          * mea     10                                          * measurements as well */
 11         bool    swap_xy;                /* swa     11         bool    swap_xy;                /* swap x and y axes */
 12                                                    12 
 13         /* Settling time of the analog signals     13         /* Settling time of the analog signals; a function of Vcc and the
 14          * capacitance on the X/Y drivers.  If     14          * capacitance on the X/Y drivers.  If set to non-zero, two samples
 15          * are taken with settle_delay us apar     15          * are taken with settle_delay us apart, and the second one is used.
 16          * ~150 uSec with 0.01uF caps.             16          * ~150 uSec with 0.01uF caps.
 17          */                                        17          */
 18         u16     settle_delay_usecs;                18         u16     settle_delay_usecs;
 19                                                    19 
 20         /* If set to non-zero, after samples a     20         /* If set to non-zero, after samples are taken this delay is applied
 21          * and penirq is rechecked, to help av     21          * and penirq is rechecked, to help avoid false events.  This value
 22          * is affected by the material used to     22          * is affected by the material used to build the touch layer.
 23          */                                        23          */
 24         u16     penirq_recheck_delay_usecs;        24         u16     penirq_recheck_delay_usecs;
 25                                                    25 
 26         u16     x_plate_ohms;                      26         u16     x_plate_ohms;
 27         u16     y_plate_ohms;                      27         u16     y_plate_ohms;
 28                                                    28 
 29         u16     x_min, x_max;                      29         u16     x_min, x_max;
 30         u16     y_min, y_max;                      30         u16     y_min, y_max;
 31         u16     pressure_min, pressure_max;        31         u16     pressure_min, pressure_max;
 32                                                    32 
 33         u16     debounce_max;           /* max     33         u16     debounce_max;           /* max number of additional readings
 34                                          * per     34                                          * per sample */
 35         u16     debounce_tol;           /* tol     35         u16     debounce_tol;           /* tolerance used for filtering */
 36         u16     debounce_rep;           /* add     36         u16     debounce_rep;           /* additional consecutive good readings
 37                                          * req     37                                          * required after the first two */
 38         int     gpio_pendown_debounce;  /* pla     38         int     gpio_pendown_debounce;  /* platform specific debounce time for
 39                                          * the     39                                          * the gpio_pendown */
 40         int     (*get_pendown_state)(void);        40         int     (*get_pendown_state)(void);
 41         void    (*wait_for_sync)(void);            41         void    (*wait_for_sync)(void);
 42         bool    wakeup;                            42         bool    wakeup;
 43         unsigned long irq_flags;                   43         unsigned long irq_flags;
 44 };                                                 44 };
 45                                                    45 
 46                                                    46 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php