xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/iio/addac/adi,ad74413r.h (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1*e67e8565SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*e67e8565SEmmanuel Vadot 
3*e67e8565SEmmanuel Vadot #ifndef _DT_BINDINGS_ADI_AD74413R_H
4*e67e8565SEmmanuel Vadot #define _DT_BINDINGS_ADI_AD74413R_H
5*e67e8565SEmmanuel Vadot 
6*e67e8565SEmmanuel Vadot #define CH_FUNC_HIGH_IMPEDANCE			0x0
7*e67e8565SEmmanuel Vadot #define CH_FUNC_VOLTAGE_OUTPUT			0x1
8*e67e8565SEmmanuel Vadot #define CH_FUNC_CURRENT_OUTPUT			0x2
9*e67e8565SEmmanuel Vadot #define CH_FUNC_VOLTAGE_INPUT			0x3
10*e67e8565SEmmanuel Vadot #define CH_FUNC_CURRENT_INPUT_EXT_POWER		0x4
11*e67e8565SEmmanuel Vadot #define CH_FUNC_CURRENT_INPUT_LOOP_POWER	0x5
12*e67e8565SEmmanuel Vadot #define CH_FUNC_RESISTANCE_INPUT		0x6
13*e67e8565SEmmanuel Vadot #define CH_FUNC_DIGITAL_INPUT_LOGIC		0x7
14*e67e8565SEmmanuel Vadot #define CH_FUNC_DIGITAL_INPUT_LOOP_POWER	0x8
15*e67e8565SEmmanuel Vadot #define CH_FUNC_CURRENT_INPUT_EXT_POWER_HART	0x9
16*e67e8565SEmmanuel Vadot #define CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART	0xA
17*e67e8565SEmmanuel Vadot 
18*e67e8565SEmmanuel Vadot #define CH_FUNC_MIN	CH_FUNC_HIGH_IMPEDANCE
19*e67e8565SEmmanuel Vadot #define CH_FUNC_MAX	CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART
20*e67e8565SEmmanuel Vadot 
21*e67e8565SEmmanuel Vadot #endif /* _DT_BINDINGS_ADI_AD74413R_H */
22