ARM: OMAP3: Switch to use the unified audio driver (omap-twl4030) for selected boards
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 14 Aug 2012 09:07:58 +0000 (12:07 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Aug 2012 16:10:00 +0000 (17:10 +0100)
These boards have similar audio setup and they can all use the same driver
for audio support if it is enabled in the kernel config.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/board-devkit8000.c
arch/arm/mach-omap2/board-igep0020.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3evm.c
arch/arm/mach-omap2/board-overo.c

index 97d7190..188cc4e 100644 (file)
@@ -731,6 +731,7 @@ static void __init cm_t3x_common_init(void)
        cm_t35_init_ethernet();
        cm_t35_init_led();
        cm_t35_init_display();
+       omap_twl4030_audio_init("cm-t3x");
 
        usb_musb_init(NULL);
        cm_t35_init_usbh();
index 6567c1c..4cd804f 100644 (file)
@@ -630,6 +630,7 @@ static void __init devkit8000_init(void)
        usbhs_init(&usbhs_bdata);
        omap_nand_flash_init(NAND_BUSWIDTH_16, devkit8000_nand_partitions,
                             ARRAY_SIZE(devkit8000_nand_partitions));
+       omap_twl4030_audio_init("omap3beagle");
 
        /* Ensure SDRC pins are mux'd for self-refresh */
        omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);
index 7491529..293fc9c 100644 (file)
@@ -626,6 +626,7 @@ static void __init igep_init(void)
 
        igep_flash_init();
        igep_leds_init();
+       omap_twl4030_audio_init("igep2");
 
        /*
         * WLAN-BT combo module from MuRata which has a Marvell WLAN
index 6202fc7..3ccfa5b 100644 (file)
@@ -519,6 +519,7 @@ static void __init omap3_beagle_init(void)
        usbhs_init(&usbhs_bdata);
        omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions,
                             ARRAY_SIZE(omap3beagle_nand_partitions));
+       omap_twl4030_audio_init("omap3beagle");
 
        /* Ensure msecure is mux'd to be able to set the RTC. */
        omap_mux_init_signal("sys_drm_msecure", OMAP_PIN_OFF_OUTPUT_HIGH);
index ef230a0..46e6eca 100644 (file)
@@ -736,6 +736,7 @@ static void __init omap3_evm_init(void)
        omap3evm_init_smsc911x();
        omap3_evm_display_init();
        omap3_evm_wl12xx_init();
+       omap_twl4030_audio_init("omap3evm");
 }
 
 MACHINE_START(OMAP3EVM, "OMAP3 EVM")
index 779734d..fe674d0 100644 (file)
@@ -509,6 +509,7 @@ static void __init overo_init(void)
        overo_display_init();
        overo_init_led();
        overo_init_keys();
+       omap_twl4030_audio_init("overo");
 
        /* Ensure SDRC pins are mux'd for self-refresh */
        omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);