diff options
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h b/arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h new file mode 100644 index 00000000000..34eb2f4fc37 --- /dev/null +++ b/arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-tegra/include/mach/tegra_asoc_pdata.h | ||
3 | * | ||
4 | * Copyright 2012 NVIDIA, Inc. | ||
5 | * | ||
6 | * This software is licensed under the terms of the GNU General Public | ||
7 | * License version 2, as published by the Free Software Foundation, and | ||
8 | * may be copied, distributed, and modified under those terms. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | */ | ||
16 | |||
17 | #define HIFI_CODEC 0 | ||
18 | #define BASEBAND 1 | ||
19 | #define BT_SCO 2 | ||
20 | #define NUM_I2S_DEVICES 3 | ||
21 | |||
22 | struct baseband_config { | ||
23 | int rate; | ||
24 | int channels; | ||
25 | }; | ||
26 | |||
27 | struct tegra_asoc_platform_data { | ||
28 | int gpio_spkr_en; | ||
29 | int gpio_hp_det; | ||
30 | int gpio_hp_mute; | ||
31 | int gpio_int_mic_en; | ||
32 | int gpio_ext_mic_en; | ||
33 | unsigned int debounce_time_hp; | ||
34 | int audio_port_id[NUM_I2S_DEVICES]; | ||
35 | struct baseband_config baseband_param; | ||
36 | }; | ||