1 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ 2 /* 3 * Copyright (C) 2021 Microchip 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