Input: gameport: convert bus code to use drv_groups
[linux/fpc-iii.git] / include / sound / adau1373.h
blob1b19c766657489a38d30a5c6df61522e718f7158
1 /*
2 * Analog Devices ADAU1373 Audio Codec drive
4 * Copyright 2011 Analog Devices Inc.
5 * Author: Lars-Peter Clausen <lars@metafoo.de>
7 * Licensed under the GPL-2 or later.
8 */
10 #ifndef __SOUND_ADAU1373_H__
11 #define __SOUND_ADAU1373_H__
13 enum adau1373_micbias_voltage {
14 ADAU1373_MICBIAS_2_9V = 0,
15 ADAU1373_MICBIAS_2_2V = 1,
16 ADAU1373_MICBIAS_2_6V = 2,
17 ADAU1373_MICBIAS_1_8V = 3,
20 #define ADAU1373_DRC_SIZE 13
22 struct adau1373_platform_data {
23 bool input_differential[4];
24 bool lineout_differential;
25 bool lineout_ground_sense;
27 unsigned int num_drc;
28 uint8_t drc_setting[3][ADAU1373_DRC_SIZE];
30 enum adau1373_micbias_voltage micbias1;
31 enum adau1373_micbias_voltage micbias2;
34 #endif