summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach
diff options
context:
space:
mode:
authorPritesh Raithatha <praithatha@nvidia.com>2012-02-09 15:51:24 +0530
committerLokesh Pathak <lpathak@nvidia.com>2012-02-10 08:37:44 -0800
commitf2462cecbac53f825b6e9b30b15e5b2d3241d999 (patch)
tree8861c363e6b0f4d62529376276f4d707e7ef8786 /arch/arm/mach-tegra/include/mach
parente7a45eadddbce511077b0fc033406e054369fbe7 (diff)
arm: tegra: Add ALC5640 audio codec header file
Bug 927513 Change-Id: Ic594fe82f004c600dc369d8323a984c7e3ec4ee7 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82729 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach')
-rw-r--r--arch/arm/mach-tegra/include/mach/tegra_rt5640_pdata.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/tegra_rt5640_pdata.h b/arch/arm/mach-tegra/include/mach/tegra_rt5640_pdata.h
new file mode 100644
index 000000000000..87dcda8e61f7
--- /dev/null
+++ b/arch/arm/mach-tegra/include/mach/tegra_rt5640_pdata.h
@@ -0,0 +1,25 @@
+/*
+ * arch/arm/mach-tegra/include/mach/tegra_rt5640_pdata.h
+ *
+ * Copyright 2011 NVIDIA, Inc.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+struct tegra_rt5640_platform_data {
+ const char *codec_name;
+ const char *codec_dai_name;
+ int gpio_spkr_en;
+ int gpio_hp_det;
+ int gpio_hp_mute;
+ int gpio_int_mic_en;
+ int gpio_ext_mic_en;
+};