summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorMichael Roth <mroth@nessie.de>2009-05-19 03:04:44 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-05-20 06:24:54 +0400
commit86579a4cccf18a2ddbf7de8fc5a0f5d9b94ed76d (patch)
treeb41377e0d2802dcf58f0ced3e895532fc01a7cca /include/linux/spi
parent225c9886b9f873b219d1109148661b38da99a1ee (diff)
downloadlinux-86579a4cccf18a2ddbf7de8fc5a0f5d9b94ed76d.tar.xz
Input: ads7846 - support swapping x and y axes
Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/ads7846.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/ads7846.h b/include/linux/spi/ads7846.h
index 2ea20320c093..51948eb6927a 100644
--- a/include/linux/spi/ads7846.h
+++ b/include/linux/spi/ads7846.h
@@ -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