xref: /linux/include/dt-bindings/iio/adi,ad5592r.h (revision b2d0f5d5dc53532e6f07bc546a476a55ebdfe0f3)
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