diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-04-18 13:08:22 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-04-18 13:08:22 -0400 |
commit | c6d46678a1adacde05a01e51361610ce2666fe6a (patch) | |
tree | 1ced2c0d6b582f1b072786430155da2b041e5d76 /arch | |
parent | d5381e42f64ca19f05c5799ffae5708acb6ed411 (diff) | |
parent | 61a6d0764be43e014d265128c2af1b41e0fc96b0 (diff) |
Merge branch 'tegra' into for-2.6.40
Diffstat (limited to 'arch')
-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 |
2 files changed, 7 insertions, 5 deletions
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 | }; |