1*3cf3cdeaSCosmin Tanislav /* SPDX-License-Identifier: GPL-2.0 */
2*3cf3cdeaSCosmin Tanislav 
3*3cf3cdeaSCosmin Tanislav #ifndef _DT_BINDINGS_ADI_AD74413R_H
4*3cf3cdeaSCosmin Tanislav #define _DT_BINDINGS_ADI_AD74413R_H
5*3cf3cdeaSCosmin Tanislav 
6*3cf3cdeaSCosmin Tanislav #define CH_FUNC_HIGH_IMPEDANCE			0x0
7*3cf3cdeaSCosmin Tanislav #define CH_FUNC_VOLTAGE_OUTPUT			0x1
8*3cf3cdeaSCosmin Tanislav #define CH_FUNC_CURRENT_OUTPUT			0x2
9*3cf3cdeaSCosmin Tanislav #define CH_FUNC_VOLTAGE_INPUT			0x3
10*3cf3cdeaSCosmin Tanislav #define CH_FUNC_CURRENT_INPUT_EXT_POWER		0x4
11*3cf3cdeaSCosmin Tanislav #define CH_FUNC_CURRENT_INPUT_LOOP_POWER	0x5
12*3cf3cdeaSCosmin Tanislav #define CH_FUNC_RESISTANCE_INPUT		0x6
13*3cf3cdeaSCosmin Tanislav #define CH_FUNC_DIGITAL_INPUT_LOGIC		0x7
14*3cf3cdeaSCosmin Tanislav #define CH_FUNC_DIGITAL_INPUT_LOOP_POWER	0x8
15*3cf3cdeaSCosmin Tanislav #define CH_FUNC_CURRENT_INPUT_EXT_POWER_HART	0x9
16*3cf3cdeaSCosmin Tanislav #define CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART	0xA
17*3cf3cdeaSCosmin Tanislav 
18*3cf3cdeaSCosmin Tanislav #define CH_FUNC_MIN	CH_FUNC_HIGH_IMPEDANCE
19*3cf3cdeaSCosmin Tanislav #define CH_FUNC_MAX	CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART
20*3cf3cdeaSCosmin Tanislav 
21*3cf3cdeaSCosmin Tanislav #endif /* _DT_BINDINGS_ADI_AD74413R_H */
22