tlv320adc3xxx.h revision 1.1.1.1
1/* $NetBSD: tlv320adc3xxx.h,v 1.1.1.1 2026/01/18 05:21:57 skrll Exp $ */ 2 3/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 4/* 5 * Devicetree bindings definitions for tlv320adc3xxx driver. 6 * 7 * Copyright (C) 2021 Axis Communications AB 8 */ 9#ifndef __DT_TLV320ADC3XXX_H 10#define __DT_TLV320ADC3XXX_H 11 12#define ADC3XXX_GPIO_DISABLED 0 /* I/O buffers powered down */ 13#define ADC3XXX_GPIO_INPUT 1 /* Various non-GPIO inputs */ 14#define ADC3XXX_GPIO_GPI 2 /* General purpose input */ 15#define ADC3XXX_GPIO_GPO 3 /* General purpose output */ 16#define ADC3XXX_GPIO_CLKOUT 4 /* Source set in reg. CLKOUT_MUX */ 17#define ADC3XXX_GPIO_INT1 5 /* INT1 output */ 18#define ADC3XXX_GPIO_INT2 6 /* INT2 output */ 19/* value 7 is reserved */ 20#define ADC3XXX_GPIO_SECONDARY_BCLK 8 /* Codec interface secondary BCLK */ 21#define ADC3XXX_GPIO_SECONDARY_WCLK 9 /* Codec interface secondary WCLK */ 22#define ADC3XXX_GPIO_ADC_MOD_CLK 10 /* Clock output for digital mics */ 23/* values 11-15 reserved */ 24 25#define ADC3XXX_MICBIAS_OFF 0 /* Micbias pin powered off */ 26#define ADC3XXX_MICBIAS_2_0V 1 /* Micbias pin set to 2.0V */ 27#define ADC3XXX_MICBIAS_2_5V 2 /* Micbias pin set to 2.5V */ 28#define ADC3XXX_MICBIAS_AVDD 3 /* Use AVDD voltage for micbias pin */ 29 30#endif /* __DT_TLV320ADC3XXX_H */ 31