summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/iio/adc/ingenic,adc.h
blob: 4627a00e369ea87a4f64d2a734922c68c29ec631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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
#define INGENIC_ADC_AUX2	2
#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

#endif