Skip to content

Commit

Permalink
[ARM] 5111/2: zylonite: Configure SSP
Browse files Browse the repository at this point in the history
SSP3 is connected to the voice PCM of the WM9713 audio codec on the
Zylonite so configure the MFPs appropriately and select SSP support.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Mark Brown authored and Russell King committed Aug 26, 2008
1 parent ad826e2 commit 58d27fc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-pxa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ config MACH_COLIBRI
config MACH_ZYLONITE
bool "PXA3xx Development Platform (aka Zylonite)"
select PXA3xx
select PXA_SSP
select HAVE_PWM

config MACH_LITTLETON
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/mach-pxa/zylonite_pxa300.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ static mfp_cfg_t common_mfp_cfg[] __initdata = {
GPIO27_AC97_SDATA_OUT,
GPIO28_AC97_SYNC,

/* SSP3 */
GPIO91_SSP3_SCLK,
GPIO92_SSP3_FRM,
GPIO93_SSP3_TXD,
GPIO94_SSP3_RXD,

/* WM9713 IRQ */
GPIO26_GPIO,

Expand Down
6 changes: 6 additions & 0 deletions arch/arm/mach-pxa/zylonite_pxa320.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ static mfp_cfg_t mfp_cfg[] __initdata = {
GPIO39_AC97_BITCLK,
GPIO40_AC97_nACRESET,

/* SSP3 */
GPIO89_SSP3_SCLK,
GPIO90_SSP3_FRM,
GPIO91_SSP3_TXD,
GPIO92_SSP3_RXD,

/* WM9713 IRQ */
GPIO15_GPIO,

Expand Down

0 comments on commit 58d27fc

Please sign in to comment.