diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-03-24 07:33:59 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-03-27 18:18:19 -0400 |
commit | a754a87ce8b17024358c1be8ee0232ef09a7055f (patch) | |
tree | c0d4adee8f490828ca04cd45d6fbb13596d88322 /arch/arm/mach-omap2/board-4430sdp.c | |
parent | 70688056a8b4d610249716befe262a74fd123d90 (diff) | |
parent | 22f8d055350066b4a87de4adea8c5213cac54534 (diff) |
Merge tag 'asoc-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into next/boards
The asoc branch that was already merged into v3.4 contains some
board-level changes that conflict with patches we already have
here, so pull in that branch to resolve the conflicts.
Conflicts:
arch/arm/mach-imx/mach-imx27_visstrim_m10.c
arch/arm/mach-omap2/board-omap4panda.c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[olof: Amended fix for mismerge as reported by Kevin Hilman]
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-omap2/board-4430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 766f7e47771c..7116ce2321c0 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <video/omap-panel-nokia-dsi.h> | 41 | #include <video/omap-panel-nokia-dsi.h> |
42 | #include <video/omap-panel-picodlp.h> | 42 | #include <video/omap-panel-picodlp.h> |
43 | #include <linux/wl12xx.h> | 43 | #include <linux/wl12xx.h> |
44 | #include <linux/platform_data/omap-abe-twl6040.h> | ||
44 | 45 | ||
45 | #include "mux.h" | 46 | #include "mux.h" |
46 | #include "hsmmc.h" | 47 | #include "hsmmc.h" |
@@ -381,12 +382,40 @@ static struct platform_device sdp4430_dmic_codec = { | |||
381 | .id = -1, | 382 | .id = -1, |
382 | }; | 383 | }; |
383 | 384 | ||
385 | static struct omap_abe_twl6040_data sdp4430_abe_audio_data = { | ||
386 | .card_name = "SDP4430", | ||
387 | .has_hs = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT, | ||
388 | .has_hf = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT, | ||
389 | .has_ep = 1, | ||
390 | .has_aux = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT, | ||
391 | .has_vibra = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT, | ||
392 | |||
393 | .has_dmic = 1, | ||
394 | .has_hsmic = 1, | ||
395 | .has_mainmic = 1, | ||
396 | .has_submic = 1, | ||
397 | .has_afm = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT, | ||
398 | |||
399 | .jack_detection = 1, | ||
400 | /* MCLK input is 38.4MHz */ | ||
401 | .mclk_freq = 38400000, | ||
402 | }; | ||
403 | |||
404 | static struct platform_device sdp4430_abe_audio = { | ||
405 | .name = "omap-abe-twl6040", | ||
406 | .id = -1, | ||
407 | .dev = { | ||
408 | .platform_data = &sdp4430_abe_audio_data, | ||
409 | }, | ||
410 | }; | ||
411 | |||
384 | static struct platform_device *sdp4430_devices[] __initdata = { | 412 | static struct platform_device *sdp4430_devices[] __initdata = { |
385 | &sdp4430_gpio_keys_device, | 413 | &sdp4430_gpio_keys_device, |
386 | &sdp4430_leds_gpio, | 414 | &sdp4430_leds_gpio, |
387 | &sdp4430_leds_pwm, | 415 | &sdp4430_leds_pwm, |
388 | &sdp4430_vbat, | 416 | &sdp4430_vbat, |
389 | &sdp4430_dmic_codec, | 417 | &sdp4430_dmic_codec, |
418 | &sdp4430_abe_audio, | ||
390 | }; | 419 | }; |
391 | 420 | ||
392 | static struct omap_musb_board_data musb_board_data = { | 421 | static struct omap_musb_board_data musb_board_data = { |