1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 2 3 #ifndef _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H 3 #ifndef _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H 4 #define _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H 4 #define _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H 5 5 6 /* ADC channel idx. */ 6 /* ADC channel idx. */ 7 #define INGENIC_ADC_AUX 0 7 #define INGENIC_ADC_AUX 0 8 #define INGENIC_ADC_BATTERY 1 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 9 18 #endif 10 #endif 19 11
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.