diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-02-24 12:50:16 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-01 18:40:59 -0500 |
commit | 31436bbe8f85f79fc0ddb963edb3d29f6e2b3bae (patch) | |
tree | 94834b9502e8d5d1de274ba754ad6284903f351e /arch/arm/mach-pxa | |
parent | 438a22fe26c3fdeb422d92072523d5b35d849dc3 (diff) |
[ARM] pxa/raumfeld: set GPIO drive bits for LED pins
Set GPIO bits to pull the pins connected to LEDs for lower power mode.
We want all LEDs off when devices are in suspend.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/raumfeld.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/raumfeld.c b/arch/arm/mach-pxa/raumfeld.c index 06717d7995cb..3184bdc14526 100644 --- a/arch/arm/mach-pxa/raumfeld.c +++ b/arch/arm/mach-pxa/raumfeld.c | |||
@@ -231,6 +231,10 @@ static mfp_cfg_t raumfeld_connector_pin_config[] __initdata = { | |||
231 | GPIO26_SSP2_FRM, | 231 | GPIO26_SSP2_FRM, |
232 | GPIO27_SSP2_TXD, | 232 | GPIO27_SSP2_TXD, |
233 | GPIO29_SSP2_EXTCLK, | 233 | GPIO29_SSP2_EXTCLK, |
234 | |||
235 | /* LEDs */ | ||
236 | GPIO35_GPIO | MFP_LPM_PULL_LOW, | ||
237 | GPIO36_GPIO | MFP_LPM_DRIVE_HIGH, | ||
234 | }; | 238 | }; |
235 | 239 | ||
236 | static mfp_cfg_t raumfeld_speaker_pin_config[] __initdata = { | 240 | static mfp_cfg_t raumfeld_speaker_pin_config[] __initdata = { |
@@ -277,6 +281,10 @@ static mfp_cfg_t raumfeld_speaker_pin_config[] __initdata = { | |||
277 | GPIO87_SSP1_TXD, | 281 | GPIO87_SSP1_TXD, |
278 | GPIO88_SSP1_RXD, | 282 | GPIO88_SSP1_RXD, |
279 | GPIO90_SSP1_SYSCLK, | 283 | GPIO90_SSP1_SYSCLK, |
284 | |||
285 | /* LEDs */ | ||
286 | GPIO35_GPIO | MFP_LPM_PULL_LOW, | ||
287 | GPIO36_GPIO | MFP_LPM_DRIVE_HIGH, | ||
280 | }; | 288 | }; |
281 | 289 | ||
282 | /* | 290 | /* |