162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * This header provides constants for configuring the I.MX25 ADC 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_IIO_ADC_FS_IMX25_GCQ_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_IIO_ADC_FS_IMX25_GCQ_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#define MX25_ADC_REFP_YP 0 /* YP voltage reference */ 1062306a36Sopenharmony_ci#define MX25_ADC_REFP_XP 1 /* XP voltage reference */ 1162306a36Sopenharmony_ci#define MX25_ADC_REFP_EXT 2 /* External voltage reference */ 1262306a36Sopenharmony_ci#define MX25_ADC_REFP_INT 3 /* Internal voltage reference */ 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#define MX25_ADC_REFN_XN 0 /* XN ground reference */ 1562306a36Sopenharmony_ci#define MX25_ADC_REFN_YN 1 /* YN ground reference */ 1662306a36Sopenharmony_ci#define MX25_ADC_REFN_NGND 2 /* Internal ground reference */ 1762306a36Sopenharmony_ci#define MX25_ADC_REFN_NGND2 3 /* External ground reference */ 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci#endif 20