mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
Input: ads7846 - support swapping x and y axes
Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
225c9886b9
commit
86579a4ccc
2 changed files with 8 additions and 0 deletions
|
@ -17,6 +17,7 @@ struct ads7846_platform_data {
|
|||
u16 vref_mv; /* external vref value, milliVolts */
|
||||
bool keep_vref_on; /* set to keep vref on for differential
|
||||
* measurements as well */
|
||||
bool swap_xy; /* swap x and y axes */
|
||||
|
||||
/* Settling time of the analog signals; a function of Vcc and the
|
||||
* capacitance on the X/Y drivers. If set to non-zero, two samples
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue