xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/iio/adc/at91-sama5d2_adc.h (revision 976227fdc99bb6d4ab950558ecda48116723e145)
1 /*	$NetBSD: at91-sama5d2_adc.h,v 1.1.1.1 2019/01/22 14:57:01 jmcneill Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0 */
4 /*
5  * This header provides constants for configuring the AT91 SAMA5D2 ADC
6  */
7 
8 #ifndef _DT_BINDINGS_IIO_ADC_AT91_SAMA5D2_ADC_H
9 #define _DT_BINDINGS_IIO_ADC_AT91_SAMA5D2_ADC_H
10 
11 /* X relative position channel index */
12 #define AT91_SAMA5D2_ADC_X_CHANNEL		24
13 /* Y relative position channel index */
14 #define AT91_SAMA5D2_ADC_Y_CHANNEL		25
15 /* pressure channel index */
16 #define AT91_SAMA5D2_ADC_P_CHANNEL		26
17 
18 #endif
19