summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri@ti.com>2012-05-09 14:19:14 -0700
committerTony Lindgren <tony@atomide.com>2012-05-09 14:19:14 -0700
commitce7962f9fa6021de3f8cdec5903b459b464e05e1 (patch)
treee45f245f264de5f42f07df5455a9cce1dd649f67 /arch/arm/mach-omap2
parent85dd0c59aa877c0a39172e6b442de9c1b756e710 (diff)
downloadtalos-op-linux-ce7962f9fa6021de3f8cdec5903b459b464e05e1.tar.gz
talos-op-linux-ce7962f9fa6021de3f8cdec5903b459b464e05e1.zip
ARM: OMAP4: board-omap4panda: 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 Pandaboard and PandaboardES 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')
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 1b2eb289b8b8..dc11ddfeec9a 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -127,6 +127,11 @@ static struct platform_device panda_abe_audio = {
},
};
+static struct platform_device panda_hdmi_audio_codec = {
+ .name = "hdmi-audio-codec",
+ .id = -1,
+};
+
static struct platform_device btwilink_device = {
.name = "btwilink",
.id = -1,
@@ -136,6 +141,7 @@ static struct platform_device *panda_devices[] __initdata = {
&leds_gpio,
&wl1271_device,
&panda_abe_audio,
+ &panda_hdmi_audio_codec,
&btwilink_device,
};
OpenPOWER on IntegriCloud