18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_ADI_AD74413R_H 48c2ecf20Sopenharmony_ci#define _DT_BINDINGS_ADI_AD74413R_H 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#define CH_FUNC_HIGH_IMPEDANCE 0x0 78c2ecf20Sopenharmony_ci#define CH_FUNC_VOLTAGE_OUTPUT 0x1 88c2ecf20Sopenharmony_ci#define CH_FUNC_CURRENT_OUTPUT 0x2 98c2ecf20Sopenharmony_ci#define CH_FUNC_VOLTAGE_INPUT 0x3 108c2ecf20Sopenharmony_ci#define CH_FUNC_CURRENT_INPUT_EXT_POWER 0x4 118c2ecf20Sopenharmony_ci#define CH_FUNC_CURRENT_INPUT_LOOP_POWER 0x5 128c2ecf20Sopenharmony_ci#define CH_FUNC_RESISTANCE_INPUT 0x6 138c2ecf20Sopenharmony_ci#define CH_FUNC_DIGITAL_INPUT_LOGIC 0x7 148c2ecf20Sopenharmony_ci#define CH_FUNC_DIGITAL_INPUT_LOOP_POWER 0x8 158c2ecf20Sopenharmony_ci#define CH_FUNC_CURRENT_INPUT_EXT_POWER_HART 0x9 168c2ecf20Sopenharmony_ci#define CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART 0xA 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#define CH_FUNC_MIN CH_FUNC_HIGH_IMPEDANCE 198c2ecf20Sopenharmony_ci#define CH_FUNC_MAX CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_ADI_AD74413R_H */ 22