xref: /linux/include/dt-bindings/iio/adc/ingenic,adc.h (revision 6beeaf48db6c548fcfc2ad32739d33af2fef3a5b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H
4 #define _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H
5 
6 /* ADC channel idx. */
7 #define INGENIC_ADC_AUX		0
8 #define INGENIC_ADC_BATTERY	1
9 #define INGENIC_ADC_AUX2	2
10 #define INGENIC_ADC_TOUCH_XP	3
11 #define INGENIC_ADC_TOUCH_YP	4
12 #define INGENIC_ADC_TOUCH_XN	5
13 #define INGENIC_ADC_TOUCH_YN	6
14 #define INGENIC_ADC_TOUCH_XD	7
15 #define INGENIC_ADC_TOUCH_YD	8
16 #define INGENIC_ADC_AUX0	9
17 
18 #endif
19