diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-23 11:52:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-23 11:52:38 -0400 |
commit | 710421cc7d295cc59eb2676fe2ba3bc3252c124e (patch) | |
tree | 4aa11cd7ee64b394871195cb585f16700553f540 /arch/arm/mach-tegra | |
parent | d7ef64a9f9987b29e3d911369a9d40122d5be2dd (diff) | |
parent | f686c74cc3e78349d16d46fc72807354574b1516 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (346 commits)
ASoC: core: Don't set "(null)" as a driver name
ALSA: hda - Use LPIB for ATI/AMD chipsets as default
Revert "ALSA: hda - Use position_fix=3 as default for AMD chipsets"
ASoC: Tegra: Fix compile when debugfs not enabled
ASoC: spdif-dit: Add missing MODULE_*
SOUND: OSS: Remove Au1550 driver.
ALSA: hda - add Intel Panther Point HDMI codec id
ALSA: emu10k1 - Add dB range to Bass and Treble for SB Live!
ALSA: hda - Remove PCM mixer elements from Virtual Master of realtek
ALSA: hda - Fix input-src parse in patch_analog.c
ASoC: davinci-mcasp: enable ping-pong SRAM buffers
ASoC: add iPAQ hx4700 machine driver
ASoC: Asahi Kasei AK4641 codec driver
ALSA: hda - Enable Realtek ALC269 codec input layer beep
ALSA: intel8x0m: enable AMD8111 modem
ALSA: HDA: Add jack detection for HDMI
ALSA: sound, core, pcm_lib: fix xrun_log
ASoC: Max98095: Move existing NULL check before pointer dereference.
ALSA: sound, core, pcm_lib: xrun_log: log also in_interrupt
ALSA: usb-audio - Add support for USB X-Fi S51 Pro
...
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-harmony.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h (renamed from arch/arm/mach-tegra/include/mach/harmony_audio.h) | 5 |
3 files changed, 10 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 3cdeffc97b44..5ec1846aa1d0 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig | |||
@@ -27,12 +27,14 @@ comment "Tegra board type" | |||
27 | 27 | ||
28 | config MACH_HARMONY | 28 | config MACH_HARMONY |
29 | bool "Harmony board" | 29 | bool "Harmony board" |
30 | select MACH_HAS_SND_SOC_TEGRA_WM8903 | ||
30 | help | 31 | help |
31 | Support for nVidia Harmony development platform | 32 | Support for nVidia Harmony development platform |
32 | 33 | ||
33 | config MACH_KAEN | 34 | config MACH_KAEN |
34 | bool "Kaen board" | 35 | bool "Kaen board" |
35 | select MACH_SEABOARD | 36 | select MACH_SEABOARD |
37 | select MACH_HAS_SND_SOC_TEGRA_WM8903 | ||
36 | help | 38 | help |
37 | Support for the Kaen version of Seaboard | 39 | Support for the Kaen version of Seaboard |
38 | 40 | ||
@@ -43,6 +45,7 @@ config MACH_PAZ00 | |||
43 | 45 | ||
44 | config MACH_SEABOARD | 46 | config MACH_SEABOARD |
45 | bool "Seaboard board" | 47 | bool "Seaboard board" |
48 | select MACH_HAS_SND_SOC_TEGRA_WM8903 | ||
46 | help | 49 | help |
47 | Support for nVidia Seaboard development platform. It will | 50 | Support for nVidia Seaboard development platform. It will |
48 | also be included for some of the derivative boards that | 51 | also be included for some of the derivative boards that |
diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c index 75c918a86a31..30e18bc60647 100644 --- a/arch/arm/mach-tegra/board-harmony.c +++ b/arch/arm/mach-tegra/board-harmony.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <asm/mach/time.h> | 34 | #include <asm/mach/time.h> |
35 | #include <asm/setup.h> | 35 | #include <asm/setup.h> |
36 | 36 | ||
37 | #include <mach/harmony_audio.h> | 37 | #include <mach/tegra_wm8903_pdata.h> |
38 | #include <mach/iomap.h> | 38 | #include <mach/iomap.h> |
39 | #include <mach/irqs.h> | 39 | #include <mach/irqs.h> |
40 | #include <mach/sdhci.h> | 40 | #include <mach/sdhci.h> |
@@ -67,15 +67,16 @@ static struct platform_device debug_uart = { | |||
67 | }, | 67 | }, |
68 | }; | 68 | }; |
69 | 69 | ||
70 | static struct harmony_audio_platform_data harmony_audio_pdata = { | 70 | static struct tegra_wm8903_platform_data harmony_audio_pdata = { |
71 | .gpio_spkr_en = TEGRA_GPIO_SPKR_EN, | 71 | .gpio_spkr_en = TEGRA_GPIO_SPKR_EN, |
72 | .gpio_hp_det = TEGRA_GPIO_HP_DET, | 72 | .gpio_hp_det = TEGRA_GPIO_HP_DET, |
73 | .gpio_hp_mute = -1, | ||
73 | .gpio_int_mic_en = TEGRA_GPIO_INT_MIC_EN, | 74 | .gpio_int_mic_en = TEGRA_GPIO_INT_MIC_EN, |
74 | .gpio_ext_mic_en = TEGRA_GPIO_EXT_MIC_EN, | 75 | .gpio_ext_mic_en = TEGRA_GPIO_EXT_MIC_EN, |
75 | }; | 76 | }; |
76 | 77 | ||
77 | static struct platform_device harmony_audio_device = { | 78 | static struct platform_device harmony_audio_device = { |
78 | .name = "tegra-snd-harmony", | 79 | .name = "tegra-snd-wm8903", |
79 | .id = 0, | 80 | .id = 0, |
80 | .dev = { | 81 | .dev = { |
81 | .platform_data = &harmony_audio_pdata, | 82 | .platform_data = &harmony_audio_pdata, |
diff --git a/arch/arm/mach-tegra/include/mach/harmony_audio.h b/arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h index af086500ab7d..9d293344a7ff 100644 --- a/arch/arm/mach-tegra/include/mach/harmony_audio.h +++ b/arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-tegra/include/mach/harmony_audio.h | 2 | * arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h |
3 | * | 3 | * |
4 | * Copyright 2011 NVIDIA, Inc. | 4 | * Copyright 2011 NVIDIA, Inc. |
5 | * | 5 | * |
@@ -14,9 +14,10 @@ | |||
14 | * | 14 | * |
15 | */ | 15 | */ |
16 | 16 | ||
17 | struct harmony_audio_platform_data { | 17 | struct tegra_wm8903_platform_data { |
18 | int gpio_spkr_en; | 18 | int gpio_spkr_en; |
19 | int gpio_hp_det; | 19 | int gpio_hp_det; |
20 | int gpio_hp_mute; | ||
20 | int gpio_int_mic_en; | 21 | int gpio_int_mic_en; |
21 | int gpio_ext_mic_en; | 22 | int gpio_ext_mic_en; |
22 | }; | 23 | }; |