1 /* $NetBSD: ingenic,adc.h,v 1.1.1.3 2021/11/07 16:49:57 jmcneill Exp $ */ 2 3 /* SPDX-License-Identifier: GPL-2.0 */ 4 5 #ifndef _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H 6 #define _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H 7 8 /* ADC channel idx. */ 9 #define INGENIC_ADC_AUX 0 10 #define INGENIC_ADC_BATTERY 1 11 #define INGENIC_ADC_AUX2 2 12 #define INGENIC_ADC_TOUCH_XP 3 13 #define INGENIC_ADC_TOUCH_YP 4 14 #define INGENIC_ADC_TOUCH_XN 5 15 #define INGENIC_ADC_TOUCH_YN 6 16 #define INGENIC_ADC_TOUCH_XD 7 17 #define INGENIC_ADC_TOUCH_YD 8 18 #define INGENIC_ADC_AUX0 9 19 20 #endif 21