xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/iio/adc/ingenic,adc.h (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
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