xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/iio/adc/ingenic,adc.h (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
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 
17 #endif
18