xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/iio/adc/at91-sama5d2_adc.h (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * This header provides constants for configuring the AT91 SAMA5D2 ADC
4  */
5 
6 #ifndef _DT_BINDINGS_IIO_ADC_AT91_SAMA5D2_ADC_H
7 #define _DT_BINDINGS_IIO_ADC_AT91_SAMA5D2_ADC_H
8 
9 /* X relative position channel index */
10 #define AT91_SAMA5D2_ADC_X_CHANNEL		24
11 /* Y relative position channel index */
12 #define AT91_SAMA5D2_ADC_Y_CHANNEL		25
13 /* pressure channel index */
14 #define AT91_SAMA5D2_ADC_P_CHANNEL		26
15 
16 /* SAMA7G5 Temperature sensor channel index. */
17 #define AT91_SAMA7G5_ADC_TEMP_CHANNEL		31
18 
19 #endif
20