aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi/ad7879.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/spi/ad7879.h')
-rw-r--r--include/linux/spi/ad7879.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/ad7879.h b/include/linux/spi/ad7879.h
index 6334cee..58368be 100644
--- a/include/linux/spi/ad7879.h
+++ b/include/linux/spi/ad7879.h
@@ -12,6 +12,8 @@ struct ad7879_platform_data {
u16 y_min, y_max;
u16 pressure_min, pressure_max;
+ bool swap_xy; /* swap x and y axes */
+
/* [0..255] 0=OFF Starts at 1=550us and goes
* all the way to 9.440ms in steps of 35us.
*/