diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-03-23 19:35:53 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-23 19:35:53 -0400 |
commit | b5c784894c90042f4fc6348aedc7524e899df281 (patch) | |
tree | 0db86a93d73e4aabca04e361d7e6807aa4c1d307 /arch/arm/mach-pxa | |
parent | ff4fc3656e489ed6ee575959b0510286aefe1e20 (diff) | |
parent | 1f2186951e02f2a5bcda9459f63136918932385a (diff) |
Merge branch 'topic/asoc' into for-linus
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/e740.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-pxa/e750.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-pxa/h5000.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/eseries-gpio.h | 15 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/regs-ssp.h | 7 | ||||
-rw-r--r-- | arch/arm/mach-pxa/spitz.c | 6 |
6 files changed, 44 insertions, 1 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 */ |
diff --git a/arch/arm/mach-pxa/e750.c b/arch/arm/mach-pxa/e750.c index be1ab8edb973..665066fd280e 100644 --- a/arch/arm/mach-pxa/e750.c +++ b/arch/arm/mach-pxa/e750.c | |||
@@ -133,6 +133,11 @@ static unsigned long e750_pin_config[] __initdata = { | |||
133 | /* IrDA */ | 133 | /* IrDA */ |
134 | GPIO38_GPIO | MFP_LPM_DRIVE_HIGH, | 134 | GPIO38_GPIO | MFP_LPM_DRIVE_HIGH, |
135 | 135 | ||
136 | /* Audio power control */ | ||
137 | GPIO4_GPIO, /* Headphone amp power */ | ||
138 | GPIO7_GPIO, /* Speaker amp power */ | ||
139 | GPIO37_GPIO, /* Headphone detect */ | ||
140 | |||
136 | /* PC Card */ | 141 | /* PC Card */ |
137 | GPIO8_GPIO, /* CD0 */ | 142 | GPIO8_GPIO, /* CD0 */ |
138 | GPIO44_GPIO, /* CD1 */ | 143 | GPIO44_GPIO, /* CD1 */ |
diff --git a/arch/arm/mach-pxa/h5000.c b/arch/arm/mach-pxa/h5000.c index da6e4422c0f3..295ec413d804 100644 --- a/arch/arm/mach-pxa/h5000.c +++ b/arch/arm/mach-pxa/h5000.c | |||
@@ -153,6 +153,13 @@ static unsigned long h5000_pin_config[] __initdata = { | |||
153 | GPIO23_SSP1_SCLK, | 153 | GPIO23_SSP1_SCLK, |
154 | GPIO25_SSP1_TXD, | 154 | GPIO25_SSP1_TXD, |
155 | GPIO26_SSP1_RXD, | 155 | GPIO26_SSP1_RXD, |
156 | |||
157 | /* I2S */ | ||
158 | GPIO28_I2S_BITCLK_OUT, | ||
159 | GPIO29_I2S_SDATA_IN, | ||
160 | GPIO30_I2S_SDATA_OUT, | ||
161 | GPIO31_I2S_SYNC, | ||
162 | GPIO32_I2S_SYSCLK, | ||
156 | }; | 163 | }; |
157 | 164 | ||
158 | /* | 165 | /* |
diff --git a/arch/arm/mach-pxa/include/mach/eseries-gpio.h b/arch/arm/mach-pxa/include/mach/eseries-gpio.h index efbd2aa9ecec..f3e5509820d7 100644 --- a/arch/arm/mach-pxa/include/mach/eseries-gpio.h +++ b/arch/arm/mach-pxa/include/mach/eseries-gpio.h | |||
@@ -45,6 +45,21 @@ | |||
45 | /* e7xx IrDA power control */ | 45 | /* e7xx IrDA power control */ |
46 | #define GPIO_E7XX_IR_OFF 38 | 46 | #define GPIO_E7XX_IR_OFF 38 |
47 | 47 | ||
48 | /* e740 audio control GPIOs */ | ||
49 | #define GPIO_E740_WM9705_nAVDD2 16 | ||
50 | #define GPIO_E740_MIC_ON 40 | ||
51 | #define GPIO_E740_AMP_ON 41 | ||
52 | |||
53 | /* e750 audio control GPIOs */ | ||
54 | #define GPIO_E750_HP_AMP_OFF 4 | ||
55 | #define GPIO_E750_SPK_AMP_OFF 7 | ||
56 | #define GPIO_E750_HP_DETECT 37 | ||
57 | |||
58 | /* e800 audio control GPIOs */ | ||
59 | #define GPIO_E800_HP_DETECT 81 | ||
60 | #define GPIO_E800_HP_AMP_OFF 82 | ||
61 | #define GPIO_E800_SPK_AMP_ON 83 | ||
62 | |||
48 | /* ASIC related GPIOs */ | 63 | /* ASIC related GPIOs */ |
49 | #define GPIO_ESERIES_TMIO_IRQ 5 | 64 | #define GPIO_ESERIES_TMIO_IRQ 5 |
50 | #define GPIO_ESERIES_TMIO_PCLR 19 | 65 | #define GPIO_ESERIES_TMIO_PCLR 19 |
diff --git a/arch/arm/mach-pxa/include/mach/regs-ssp.h b/arch/arm/mach-pxa/include/mach/regs-ssp.h index cf31986f6f05..018f6d65b57b 100644 --- a/arch/arm/mach-pxa/include/mach/regs-ssp.h +++ b/arch/arm/mach-pxa/include/mach/regs-ssp.h | |||
@@ -50,7 +50,7 @@ | |||
50 | #define SSCR0_TUM (1 << 23) /* Transmit FIFO underrun interrupt mask */ | 50 | #define SSCR0_TUM (1 << 23) /* Transmit FIFO underrun interrupt mask */ |
51 | #define SSCR0_FRDC (0x07000000) /* Frame rate divider control (mask) */ | 51 | #define SSCR0_FRDC (0x07000000) /* Frame rate divider control (mask) */ |
52 | #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */ | 52 | #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */ |
53 | #define SSCR0_ADC (1 << 30) /* Audio clock select */ | 53 | #define SSCR0_ACS (1 << 30) /* Audio clock select */ |
54 | #define SSCR0_MOD (1 << 31) /* Mode (normal or network) */ | 54 | #define SSCR0_MOD (1 << 31) /* Mode (normal or network) */ |
55 | #endif | 55 | #endif |
56 | 56 | ||
@@ -109,6 +109,11 @@ | |||
109 | #define SSSR_TINT (1 << 19) /* Receiver Time-out Interrupt */ | 109 | #define SSSR_TINT (1 << 19) /* Receiver Time-out Interrupt */ |
110 | #define SSSR_PINT (1 << 18) /* Peripheral Trailing Byte Interrupt */ | 110 | #define SSSR_PINT (1 << 18) /* Peripheral Trailing Byte Interrupt */ |
111 | 111 | ||
112 | #if defined(CONFIG_PXA3xx) | ||
113 | #define SSPSP_EDMYSTOP(x) ((x) << 28) /* Extended Dummy Stop */ | ||
114 | #define SSPSP_EDMYSTRT(x) ((x) << 26) /* Extended Dummy Start */ | ||
115 | #endif | ||
116 | |||
112 | #define SSPSP_FSRT (1 << 25) /* Frame Sync Relative Timing */ | 117 | #define SSPSP_FSRT (1 << 25) /* Frame Sync Relative Timing */ |
113 | #define SSPSP_DMYSTOP(x) ((x) << 23) /* Dummy Stop */ | 118 | #define SSPSP_DMYSTOP(x) ((x) << 23) /* Dummy Stop */ |
114 | #define SSPSP_SFRMWDTH(x) ((x) << 16) /* Serial Frame Width */ | 119 | #define SSPSP_SFRMWDTH(x) ((x) << 16) /* Serial Frame Width */ |
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 6d447c9ce8ab..0d62d311d41a 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -105,6 +105,12 @@ static unsigned long spitz_pin_config[] __initdata = { | |||
105 | GPIO57_nIOIS16, | 105 | GPIO57_nIOIS16, |
106 | GPIO104_PSKTSEL, | 106 | GPIO104_PSKTSEL, |
107 | 107 | ||
108 | /* I2S */ | ||
109 | GPIO28_I2S_BITCLK_OUT, | ||
110 | GPIO29_I2S_SDATA_IN, | ||
111 | GPIO30_I2S_SDATA_OUT, | ||
112 | GPIO31_I2S_SYNC, | ||
113 | |||
108 | /* MMC */ | 114 | /* MMC */ |
109 | GPIO32_MMC_CLK, | 115 | GPIO32_MMC_CLK, |
110 | GPIO112_MMC_CMD, | 116 | GPIO112_MMC_CMD, |