aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/include/mach/tegra_aic326x_pdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/tegra_aic326x_pdata.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/tegra_aic326x_pdata.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/tegra_aic326x_pdata.h b/arch/arm/mach-tegra/include/mach/tegra_aic326x_pdata.h
new file mode 100644
index 00000000000..a47ef1982e4
--- /dev/null
+++ b/arch/arm/mach-tegra/include/mach/tegra_aic326x_pdata.h
@@ -0,0 +1,39 @@
1/*
2 * arch/arm/mach-tegra/include/mach/tegra_aic326x_pdata.h
3 *
4 * Copyright 2011 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#ifndef __MACH_TEGRA_TLVAIC326X_H
17#define __MACH_TEGRA_TLVAIC326X_H
18
19#define HIFI_CODEC 0
20#define BASEBAND 1
21#define BT_SCO 2
22#define NUM_I2S_DEVICES 3
23
24struct baseband_config {
25 int rate;
26 int channels;
27};
28
29struct tegra_aic326x_platform_data {
30 int gpio_spkr_en;
31 int gpio_hp_det;
32 int gpio_hp_mute;
33 int gpio_int_mic_en;
34 int gpio_ext_mic_en;
35 int audio_port_id[NUM_I2S_DEVICES];
36 struct baseband_config baseband_param;
37};
38#endif
39