aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-23 06:05:11 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2010-02-24 04:23:42 -0500
commitcd6eb9808ce54caeea779e785e19a9b9bea97e43 (patch)
tree2bd9e9253907ea8071de7e587281fb4875756e65 /arch/arm/mach-mx3
parent0f547dc1f6e4faf05fd9946c6b7e9a828e7f901e (diff)
mx31ads: Configure SSI5 pins in IOMUX for PMIC module audio support
SSI5 on the CPU is connected to the PMIC module to provide audio support so unconditionally configure the relevant pins on the CPU to route out the signals. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r--arch/arm/mach-mx3/mach-mx31ads.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mach-mx31ads.c b/arch/arm/mach-mx3/mach-mx31ads.c
index 2f02df212b66..b3d1a1895c20 100644
--- a/arch/arm/mach-mx3/mach-mx31ads.c
+++ b/arch/arm/mach-mx3/mach-mx31ads.c
@@ -483,6 +483,19 @@ static void mxc_init_i2c(void)
483} 483}
484#endif 484#endif
485 485
486static unsigned int ssi_pins[] = {
487 MX31_PIN_SFS5__SFS5,
488 MX31_PIN_SCK5__SCK5,
489 MX31_PIN_SRXD5__SRXD5,
490 MX31_PIN_STXD5__STXD5,
491};
492
493static void mxc_init_audio(void)
494{
495 mxc_register_device(&imx_ssi_device0, NULL);
496 mxc_iomux_setup_multiple_pins(ssi_pins, ARRAY_SIZE(ssi_pins), "ssi");
497}
498
486/*! 499/*!
487 * This structure defines static mappings for the i.MX31ADS board. 500 * This structure defines static mappings for the i.MX31ADS board.
488 */ 501 */
@@ -518,6 +531,7 @@ static void __init mxc_board_init(void)
518 mxc_init_extuart(); 531 mxc_init_extuart();
519 mxc_init_imx_uart(); 532 mxc_init_imx_uart();
520 mxc_init_i2c(); 533 mxc_init_i2c();
534 mxc_init_audio();
521} 535}
522 536
523static void __init mx31ads_timer_init(void) 537static void __init mx31ads_timer_init(void)