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