summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/e740.c
diff options
context:
space:
mode:
authorIan Molton <ian@mnementh.co.uk>2009-01-17 15:11:06 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-19 16:15:41 +0000
commit28796eaf806502b9bd86cbacf8edbc14c80c14b0 (patch)
tree2b398373c2fe7b7b67b32f8868f83fabf3261dc9 /arch/arm/mach-pxa/e740.c
parent2c782f5981a022f7a238d550af5daa75c8acf382 (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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/e740.c b/arch/arm/mach-pxa/e740.c
index 6d48e00f4f0..a6fff782e7a 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 = {
/* IrDA */
GPIO38_GPIO | MFP_LPM_DRIVE_HIGH,
+ /* Audio power control */
+ GPIO16_GPIO, /* AC97 codec AVDD2 supply (analogue power) */
+ GPIO40_GPIO, /* Mic amp power */
+ GPIO41_GPIO, /* Headphone amp power */
+
/* PC Card */
GPIO8_GPIO, /* CD0 */
GPIO44_GPIO, /* CD1 */