![]() |
|
|||
0001 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 0002 /* 0003 * Devicetree bindings definitions for tlv320adc3xxx driver. 0004 * 0005 * Copyright (C) 2021 Axis Communications AB 0006 */ 0007 #ifndef __DT_TLV320ADC3XXX_H 0008 #define __DT_TLV320ADC3XXX_H 0009 0010 #define ADC3XXX_GPIO_DISABLED 0 /* I/O buffers powered down */ 0011 #define ADC3XXX_GPIO_INPUT 1 /* Various non-GPIO inputs */ 0012 #define ADC3XXX_GPIO_GPI 2 /* General purpose input */ 0013 #define ADC3XXX_GPIO_GPO 3 /* General purpose output */ 0014 #define ADC3XXX_GPIO_CLKOUT 4 /* Source set in reg. CLKOUT_MUX */ 0015 #define ADC3XXX_GPIO_INT1 5 /* INT1 output */ 0016 #define ADC3XXX_GPIO_INT2 6 /* INT2 output */ 0017 /* value 7 is reserved */ 0018 #define ADC3XXX_GPIO_SECONDARY_BCLK 8 /* Codec interface secondary BCLK */ 0019 #define ADC3XXX_GPIO_SECONDARY_WCLK 9 /* Codec interface secondary WCLK */ 0020 #define ADC3XXX_GPIO_ADC_MOD_CLK 10 /* Clock output for digital mics */ 0021 /* values 11-15 reserved */ 0022 0023 #define ADC3XXX_MICBIAS_OFF 0 /* Micbias pin powered off */ 0024 #define ADC3XXX_MICBIAS_2_0V 1 /* Micbias pin set to 2.0V */ 0025 #define ADC3XXX_MICBIAS_2_5V 2 /* Micbias pin set to 2.5V */ 0026 #define ADC3XXX_MICBIAS_AVDD 3 /* Use AVDD voltage for micbias pin */ 0027 0028 #endif /* __DT_TLV320ADC3XXX_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |