18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_ADI_AD5592R_H 48c2ecf20Sopenharmony_ci#define _DT_BINDINGS_ADI_AD5592R_H 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#define CH_MODE_UNUSED 0 78c2ecf20Sopenharmony_ci#define CH_MODE_ADC 1 88c2ecf20Sopenharmony_ci#define CH_MODE_DAC 2 98c2ecf20Sopenharmony_ci#define CH_MODE_DAC_AND_ADC 3 108c2ecf20Sopenharmony_ci#define CH_MODE_GPIO 8 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define CH_OFFSTATE_PULLDOWN 0 138c2ecf20Sopenharmony_ci#define CH_OFFSTATE_OUT_LOW 1 148c2ecf20Sopenharmony_ci#define CH_OFFSTATE_OUT_HIGH 2 158c2ecf20Sopenharmony_ci#define CH_OFFSTATE_OUT_TRISTATE 3 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_ADI_AD5592R_H */ 18