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