xref: /linux/include/dt-bindings/iio/adi,ad5592r.h (revision 95298d63c67673c654c08952672d016212b26054)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _DT_BINDINGS_ADI_AD5592R_H
4 #define _DT_BINDINGS_ADI_AD5592R_H
5 
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
11 
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
16 
17 #endif /* _DT_BINDINGS_ADI_AD5592R_H */
18