diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-08-14 05:07:58 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-15 12:10:00 -0400 |
commit | ac51c90f10be1d1e360f50ca521e3a2133919d23 (patch) | |
tree | 5307378ecdaf176783dd9511c6b92c2d88e062c3 /arch | |
parent | 552d9dc316cfedd134ee882cd1ae24ca6934ffc0 (diff) |
ARM: OMAP3: Switch to use the unified audio driver (omap-twl4030) for selected boards
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-devkit8000.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 97d719047af3..188cc4eb0a79 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -731,6 +731,7 @@ static void __init cm_t3x_common_init(void) | |||
731 | cm_t35_init_ethernet(); | 731 | cm_t35_init_ethernet(); |
732 | cm_t35_init_led(); | 732 | cm_t35_init_led(); |
733 | cm_t35_init_display(); | 733 | cm_t35_init_display(); |
734 | omap_twl4030_audio_init("cm-t3x"); | ||
734 | 735 | ||
735 | usb_musb_init(NULL); | 736 | usb_musb_init(NULL); |
736 | cm_t35_init_usbh(); | 737 | cm_t35_init_usbh(); |
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 6567c1cd5572..4cd804f615a5 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -630,6 +630,7 @@ static void __init devkit8000_init(void) | |||
630 | usbhs_init(&usbhs_bdata); | 630 | usbhs_init(&usbhs_bdata); |
631 | omap_nand_flash_init(NAND_BUSWIDTH_16, devkit8000_nand_partitions, | 631 | omap_nand_flash_init(NAND_BUSWIDTH_16, devkit8000_nand_partitions, |
632 | ARRAY_SIZE(devkit8000_nand_partitions)); | 632 | ARRAY_SIZE(devkit8000_nand_partitions)); |
633 | omap_twl4030_audio_init("omap3beagle"); | ||
633 | 634 | ||
634 | /* Ensure SDRC pins are mux'd for self-refresh */ | 635 | /* Ensure SDRC pins are mux'd for self-refresh */ |
635 | omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); | 636 | omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); |
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 74915295482e..293fc9c2bea9 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -626,6 +626,7 @@ static void __init igep_init(void) | |||
626 | 626 | ||
627 | igep_flash_init(); | 627 | igep_flash_init(); |
628 | igep_leds_init(); | 628 | igep_leds_init(); |
629 | omap_twl4030_audio_init("igep2"); | ||
629 | 630 | ||
630 | /* | 631 | /* |
631 | * WLAN-BT combo module from MuRata which has a Marvell WLAN | 632 | * WLAN-BT combo module from MuRata which has a Marvell WLAN |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 6202fc76e490..3ccfa5b23a24 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -519,6 +519,7 @@ static void __init omap3_beagle_init(void) | |||
519 | usbhs_init(&usbhs_bdata); | 519 | usbhs_init(&usbhs_bdata); |
520 | omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions, | 520 | omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions, |
521 | ARRAY_SIZE(omap3beagle_nand_partitions)); | 521 | ARRAY_SIZE(omap3beagle_nand_partitions)); |
522 | omap_twl4030_audio_init("omap3beagle"); | ||
522 | 523 | ||
523 | /* Ensure msecure is mux'd to be able to set the RTC. */ | 524 | /* Ensure msecure is mux'd to be able to set the RTC. */ |
524 | omap_mux_init_signal("sys_drm_msecure", OMAP_PIN_OFF_OUTPUT_HIGH); | 525 | omap_mux_init_signal("sys_drm_msecure", OMAP_PIN_OFF_OUTPUT_HIGH); |
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index ef230a0eb5eb..46e6ecad5696 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -736,6 +736,7 @@ static void __init omap3_evm_init(void) | |||
736 | omap3evm_init_smsc911x(); | 736 | omap3evm_init_smsc911x(); |
737 | omap3_evm_display_init(); | 737 | omap3_evm_display_init(); |
738 | omap3_evm_wl12xx_init(); | 738 | omap3_evm_wl12xx_init(); |
739 | omap_twl4030_audio_init("omap3evm"); | ||
739 | } | 740 | } |
740 | 741 | ||
741 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") | 742 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 779734d8ba37..fe674d0c6c04 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -509,6 +509,7 @@ static void __init overo_init(void) | |||
509 | overo_display_init(); | 509 | overo_display_init(); |
510 | overo_init_led(); | 510 | overo_init_led(); |
511 | overo_init_keys(); | 511 | overo_init_keys(); |
512 | omap_twl4030_audio_init("overo"); | ||
512 | 513 | ||
513 | /* Ensure SDRC pins are mux'd for self-refresh */ | 514 | /* Ensure SDRC pins are mux'd for self-refresh */ |
514 | omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); | 515 | omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); |