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 97d719047af382ca3aa5b5484310a427c1748b0d..188cc4eb0a79cfa9c9d99af99803bc31ecb08f88 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 6567c1cd55729ce167cf90a48ab18d700ebe545f..4cd804f615a53dd40dbddfca8b7f3471ae1a55af 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 74915295482ec849e0d0fefe5fc9a22703ee1f2c..293fc9c2bea9b8884b1c7c83a4b3e70cd53c7050 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 6202fc76e490f108e9ae238ae8499eab6cf1126a..3ccfa5b23a24c1706ae6b9da041ef1586a8c2302 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 ef230a0eb5eb13e5cedde6f0a6c540f6a348eae6..46e6ecad5696c15581112e01ecaf44a1babee4cc 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 779734d8ba37304417350cd246c52044a0238897..fe674d0c6c04ac53f353ff5c0681fa70b70a5b73 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);