Commit 84224720 authored by Artur Rojek's avatar Artur Rojek Committed by Jonathan Cameron

dt-bindings: iio/adc: Add touchscreen idx for JZ47xx SoC ADC

Introduce support for touchscreen channels found in JZ47xx SoCs.
Signed-off-by: default avatarArtur Rojek <contact@artur-rojek.eu>
Tested-by: default avatarPaul Cercueil <paul@crapouillou.net>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 6a294b41
...@@ -7,5 +7,11 @@ ...@@ -7,5 +7,11 @@
#define INGENIC_ADC_AUX 0 #define INGENIC_ADC_AUX 0
#define INGENIC_ADC_BATTERY 1 #define INGENIC_ADC_BATTERY 1
#define INGENIC_ADC_AUX2 2 #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 #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment