2019-02-04 08:15:13 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
|
|
|
#ifndef _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H
|
|
|
|
#define _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H
|
|
|
|
|
|
|
|
/* ADC channel idx. */
|
|
|
|
#define INGENIC_ADC_AUX 0
|
|
|
|
#define INGENIC_ADC_BATTERY 1
|
2019-07-28 03:59:39 +08:00
|
|
|
#define INGENIC_ADC_AUX2 2
|
2020-07-20 04:53:06 +08:00
|
|
|
#define INGENIC_ADC_TOUCH_XP 3
|
|
|
|
#define INGENIC_ADC_TOUCH_YP 4
|
|
|
|
#define INGENIC_ADC_TOUCH_XN 5
|
|
|
|
#define INGENIC_ADC_TOUCH_YN 6
|
|
|
|
#define INGENIC_ADC_TOUCH_XD 7
|
|
|
|
#define INGENIC_ADC_TOUCH_YD 8
|
2019-02-04 08:15:13 +08:00
|
|
|
|
|
|
|
#endif
|