162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci#ifndef _DT_BINDINGS_ADI_AD74413R_H
462306a36Sopenharmony_ci#define _DT_BINDINGS_ADI_AD74413R_H
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#define CH_FUNC_HIGH_IMPEDANCE			0x0
762306a36Sopenharmony_ci#define CH_FUNC_VOLTAGE_OUTPUT			0x1
862306a36Sopenharmony_ci#define CH_FUNC_CURRENT_OUTPUT			0x2
962306a36Sopenharmony_ci#define CH_FUNC_VOLTAGE_INPUT			0x3
1062306a36Sopenharmony_ci#define CH_FUNC_CURRENT_INPUT_EXT_POWER		0x4
1162306a36Sopenharmony_ci#define CH_FUNC_CURRENT_INPUT_LOOP_POWER	0x5
1262306a36Sopenharmony_ci#define CH_FUNC_RESISTANCE_INPUT		0x6
1362306a36Sopenharmony_ci#define CH_FUNC_DIGITAL_INPUT_LOGIC		0x7
1462306a36Sopenharmony_ci#define CH_FUNC_DIGITAL_INPUT_LOOP_POWER	0x8
1562306a36Sopenharmony_ci#define CH_FUNC_CURRENT_INPUT_EXT_POWER_HART	0x9
1662306a36Sopenharmony_ci#define CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART	0xA
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#define CH_FUNC_MIN	CH_FUNC_HIGH_IMPEDANCE
1962306a36Sopenharmony_ci#define CH_FUNC_MAX	CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#endif /* _DT_BINDINGS_ADI_AD74413R_H */
22