Skip to content

Commit

Permalink
ARM: OMAP4: board-4430sdp: Register platform device for digimic codec
Browse files Browse the repository at this point in the history
OMAP4 SDP/Blaze boards have onboard digital microphones.
Register the platform device for the dmic-codec to be
able to use the microphones.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Peter Ujfalusi authored and Tony Lindgren committed Dec 13, 2011
1 parent de9eb09 commit 95712de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/mach-omap2/board-4430sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,17 @@ static struct platform_device sdp4430_vbat = {
},
};

static struct platform_device sdp4430_dmic_codec = {
.name = "dmic-codec",
.id = -1,
};

static struct platform_device *sdp4430_devices[] __initdata = {
&sdp4430_gpio_keys_device,
&sdp4430_leds_gpio,
&sdp4430_leds_pwm,
&sdp4430_vbat,
&sdp4430_dmic_codec,
};

static struct omap_musb_board_data musb_board_data = {
Expand Down

0 comments on commit 95712de

Please sign in to comment.