Linux 4.14.5
[linux/fpc-iii.git] / include / dt-bindings / iio / adi,ad5592r.h
blob9f8c7b808cd19108349250c87bb8c5de35405e71
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef _DT_BINDINGS_ADI_AD5592R_H
4 #define _DT_BINDINGS_ADI_AD5592R_H
6 #define CH_MODE_UNUSED 0
7 #define CH_MODE_ADC 1
8 #define CH_MODE_DAC 2
9 #define CH_MODE_DAC_AND_ADC 3
10 #define CH_MODE_GPIO 8
12 #define CH_OFFSTATE_PULLDOWN 0
13 #define CH_OFFSTATE_OUT_LOW 1
14 #define CH_OFFSTATE_OUT_HIGH 2
15 #define CH_OFFSTATE_OUT_TRISTATE 3
17 #endif /* _DT_BINDINGS_ADI_AD5592R_H */