arm: tegra: Add ALC5640 audio codec header file
Pritesh Raithatha [Thu, 9 Feb 2012 10:21:24 +0000 (15:21 +0530)]
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>

Rebase-Id: R0c65578818542c792b3c11644e5531e6506de177

arch/arm/mach-tegra/include/mach/tegra_rt5640_pdata.h [new file with mode: 0644]

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 (file)
index 0000000..87dcda8
--- /dev/null
@@ -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;
+};