summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-05 10:27:14 -0600
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-06 06:29:33 +0800
commit03f67433758a3eeb37b9c1559886c377da874ad2 (patch)
treea8f747c7fcf2506b261439108d2a6c4bb04b3ec4 /include/sound
parent5d86e25c70407cd97a5aa8f39cc3be390bcab116 (diff)
downloadlinux-03f67433758a3eeb37b9c1559886c377da874ad2.tar.gz
linux-03f67433758a3eeb37b9c1559886c377da874ad2.tar.bz2
linux-03f67433758a3eeb37b9c1559886c377da874ad2.zip
ASoC: tegra: move platform data header
Move the Tegra+WM8903 ASoC platform data header out of arch/arm/mach-tegra, as a pre-requisite of single zImage. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tegra_wm8903.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/sound/tegra_wm8903.h b/include/sound/tegra_wm8903.h
new file mode 100644
index 000000000000..57b202ee97c3
--- /dev/null
+++ b/include/sound/tegra_wm8903.h
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ *
+ */
+
+#ifndef __SOUND_TEGRA_WM38903_H
+#define __SOUND_TEGRA_WM38903_H
+
+struct tegra_wm8903_platform_data {
+ int gpio_spkr_en;
+ int gpio_hp_det;
+ int gpio_hp_mute;
+ int gpio_int_mic_en;
+ int gpio_ext_mic_en;
+};
+
+#endif