Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187596
b: refs/heads/master
c: cd6eb98
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Sascha Hauer committed Feb 24, 2010
1 parent 5773842 commit 3083176
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f547dc1f6e4faf05fd9946c6b7e9a828e7f901e
refs/heads/master: cd6eb9808ce54caeea779e785e19a9b9bea97e43
14 changes: 14 additions & 0 deletions trunk/arch/arm/mach-mx3/mach-mx31ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,19 @@ static void mxc_init_i2c(void)
}
#endif

static unsigned int ssi_pins[] = {
MX31_PIN_SFS5__SFS5,
MX31_PIN_SCK5__SCK5,
MX31_PIN_SRXD5__SRXD5,
MX31_PIN_STXD5__STXD5,
};

static void mxc_init_audio(void)
{
mxc_register_device(&imx_ssi_device0, NULL);
mxc_iomux_setup_multiple_pins(ssi_pins, ARRAY_SIZE(ssi_pins), "ssi");
}

/*!
* This structure defines static mappings for the i.MX31ADS board.
*/
Expand Down Expand Up @@ -518,6 +531,7 @@ static void __init mxc_board_init(void)
mxc_init_extuart();
mxc_init_imx_uart();
mxc_init_i2c();
mxc_init_audio();
}

static void __init mx31ads_timer_init(void)
Expand Down

0 comments on commit 3083176

Please sign in to comment.