diff options
author | Ian Molton <ian@mnementh.co.uk> | 2009-01-17 10:11:06 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-01-19 11:15:41 -0500 |
commit | 28796eaf806502b9bd86cbacf8edbc14c80c14b0 (patch) | |
tree | 2b398373c2fe7b7b67b32f8868f83fabf3261dc9 /arch/arm/mach-pxa/e740.c | |
parent | 2c782f5981a022f7a238d550af5daa75c8acf382 (diff) |
ASoC: machine support for Toshiba e740 PDA
This patch provides suupport for the wm9705 AC97 codec on the Toshiba e740.
Note:
The e740 has a hard headphone switch that turns the speaker off and is not
software detectable or controlable. Also both headphone and speaker amps
share a common output enable.
Signed-off-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-pxa/e740.c')
-rw-r--r-- | arch/arm/mach-pxa/e740.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/e740.c b/arch/arm/mach-pxa/e740.c index 6d48e00f4f0b..a6fff782e7a8 100644 --- a/arch/arm/mach-pxa/e740.c +++ b/arch/arm/mach-pxa/e740.c | |||
@@ -135,6 +135,11 @@ static unsigned long e740_pin_config[] __initdata = { | |||
135 | /* IrDA */ | 135 | /* IrDA */ |
136 | GPIO38_GPIO | MFP_LPM_DRIVE_HIGH, | 136 | GPIO38_GPIO | MFP_LPM_DRIVE_HIGH, |
137 | 137 | ||
138 | /* Audio power control */ | ||
139 | GPIO16_GPIO, /* AC97 codec AVDD2 supply (analogue power) */ | ||
140 | GPIO40_GPIO, /* Mic amp power */ | ||
141 | GPIO41_GPIO, /* Headphone amp power */ | ||
142 | |||
138 | /* PC Card */ | 143 | /* PC Card */ |
139 | GPIO8_GPIO, /* CD0 */ | 144 | GPIO8_GPIO, /* CD0 */ |
140 | GPIO44_GPIO, /* CD1 */ | 145 | GPIO44_GPIO, /* CD1 */ |