summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/iio
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-22 15:36:31 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-22 15:36:31 +0200
commitd0d7c5845e7faef263184c68f8a31634dfa22c6f (patch)
tree1ee3f612d13b491b327c419dec7f91d5302ab127 /include/dt-bindings/iio
parentiio: core: fix/re-introduce back parent assignment (diff)
parentIIO: Ingenic JZ47xx: Add touchscreen mode. (diff)
downloadlinux-d0d7c5845e7faef263184c68f8a31634dfa22c6f.tar.xz
linux-d0d7c5845e7faef263184c68f8a31634dfa22c6f.zip
Merge branch 'ib-5.8-jz47xx-ts' into HEAD
Immutable branch may be needed in input for a joystick set that is dependent on it.
Diffstat (limited to 'include/dt-bindings/iio')
-rw-r--r--include/dt-bindings/iio/adc/ingenic,adc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dt-bindings/iio/adc/ingenic,adc.h b/include/dt-bindings/iio/adc/ingenic,adc.h
index 42f871ab3272..4627a00e369e 100644
--- a/include/dt-bindings/iio/adc/ingenic,adc.h
+++ b/include/dt-bindings/iio/adc/ingenic,adc.h
@@ -7,5 +7,11 @@
#define INGENIC_ADC_AUX 0
#define INGENIC_ADC_BATTERY 1
#define INGENIC_ADC_AUX2 2
+#define INGENIC_ADC_TOUCH_XP 3
+#define INGENIC_ADC_TOUCH_YP 4
+#define INGENIC_ADC_TOUCH_XN 5
+#define INGENIC_ADC_TOUCH_YN 6
+#define INGENIC_ADC_TOUCH_XD 7
+#define INGENIC_ADC_TOUCH_YD 8
#endif