aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
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
commitce7962f9fa6021de3f8cdec5903b459b464e05e1 (patch)
treee45f245f264de5f42f07df5455a9cce1dd649f67 /arch/arm
parent85dd0c59aa877c0a39172e6b442de9c1b756e710 (diff)
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')
-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 = {
127 }, 127 },
128}; 128};
129 129
130static struct platform_device panda_hdmi_audio_codec = {
131 .name = "hdmi-audio-codec",
132 .id = -1,
133};
134
130static struct platform_device btwilink_device = { 135static struct platform_device btwilink_device = {
131 .name = "btwilink", 136 .name = "btwilink",
132 .id = -1, 137 .id = -1,
@@ -136,6 +141,7 @@ static struct platform_device *panda_devices[] __initdata = {
136 &leds_gpio, 141 &leds_gpio,
137 &wl1271_device, 142 &wl1271_device,
138 &panda_abe_audio, 143 &panda_abe_audio,
144 &panda_hdmi_audio_codec,
139 &btwilink_device, 145 &btwilink_device,
140}; 146};
141 147