162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci#ifndef _DT_BINDINGS_ADI_AD5592R_H 462306a36Sopenharmony_ci#define _DT_BINDINGS_ADI_AD5592R_H 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#define CH_MODE_UNUSED 0 762306a36Sopenharmony_ci#define CH_MODE_ADC 1 862306a36Sopenharmony_ci#define CH_MODE_DAC 2 962306a36Sopenharmony_ci#define CH_MODE_DAC_AND_ADC 3 1062306a36Sopenharmony_ci#define CH_MODE_GPIO 8 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#define CH_OFFSTATE_PULLDOWN 0 1362306a36Sopenharmony_ci#define CH_OFFSTATE_OUT_LOW 1 1462306a36Sopenharmony_ci#define CH_OFFSTATE_OUT_HIGH 2 1562306a36Sopenharmony_ci#define CH_OFFSTATE_OUT_TRISTATE 3 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci#endif /* _DT_BINDINGS_ADI_AD5592R_H */ 18