[alsa-devel] [PATCH] ARM: tegra: Add to struct harmony_audio_platform_data

Stephen Warren swarren at nvidia.com
Mon Jan 31 23:37:15 CET 2011


Add fields to describe all the audio-related GPIOs on Harmony, except for
the codec's GPIO IRQ, which will be passed in its i2c_board_info.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
Mark, can you please apply this to your tegra-arch branch, and merge that.
Thanks!

 arch/arm/mach-tegra/include/mach/harmony_audio.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-tegra/include/mach/harmony_audio.h b/arch/arm/mach-tegra/include/mach/harmony_audio.h
index 5c46391..af08650 100644
--- a/arch/arm/mach-tegra/include/mach/harmony_audio.h
+++ b/arch/arm/mach-tegra/include/mach/harmony_audio.h
@@ -16,4 +16,7 @@
 
 struct harmony_audio_platform_data {
 	int gpio_spkr_en;
+	int gpio_hp_det;
+	int gpio_int_mic_en;
+	int gpio_ext_mic_en;
 };
-- 
1.7.1



More information about the Alsa-devel mailing list