aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-4430sdp.c
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri@ti.com>2012-05-09 17:19:14 -0400
committerTony Lindgren <tony@atomide.com>2012-05-09 17:19:14 -0400
commit85dd0c59aa877c0a39172e6b442de9c1b756e710 (patch)
treee20e22362b3df6043a13a2f4a57a2221dd43fb3b /arch/arm/mach-omap2/board-4430sdp.c
parent5eeec215869cf7533d5180edcdf580a92cf50f66 (diff)
ARM: OMAP4: board-4430sdp: Register platform device for HDMI audio codec
Add platform device registratation for HDMI audio codec. This is to be able to transmit audio through the HDMI output featured in SDP4430 and Blaze boards. Signed-off-by: Ricardo Neri <ricardo.neri@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-4430sdp.c')
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index 130ab00c09a2..4f9d8cd9b0eb 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -384,6 +384,11 @@ static struct platform_device sdp4430_dmic_codec = {
384 .id = -1, 384 .id = -1,
385}; 385};
386 386
387static struct platform_device sdp4430_hdmi_audio_codec = {
388 .name = "hdmi-audio-codec",
389 .id = -1,
390};
391
387static struct omap_abe_twl6040_data sdp4430_abe_audio_data = { 392static struct omap_abe_twl6040_data sdp4430_abe_audio_data = {
388 .card_name = "SDP4430", 393 .card_name = "SDP4430",
389 .has_hs = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT, 394 .has_hs = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT,
@@ -418,6 +423,7 @@ static struct platform_device *sdp4430_devices[] __initdata = {
418 &sdp4430_vbat, 423 &sdp4430_vbat,
419 &sdp4430_dmic_codec, 424 &sdp4430_dmic_codec,
420 &sdp4430_abe_audio, 425 &sdp4430_abe_audio,
426 &sdp4430_hdmi_audio_codec,
421}; 427};
422 428
423static struct omap_musb_board_data musb_board_data = { 429static struct omap_musb_board_data musb_board_data = {