Commit 31436bbe authored by Daniel Mack's avatar Daniel Mack Committed by Eric Miao

[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: default avatarDaniel Mack <daniel@caiaq.de>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 438a22fe
...@@ -231,6 +231,10 @@ static mfp_cfg_t raumfeld_connector_pin_config[] __initdata = { ...@@ -231,6 +231,10 @@ static mfp_cfg_t raumfeld_connector_pin_config[] __initdata = {
GPIO26_SSP2_FRM, GPIO26_SSP2_FRM,
GPIO27_SSP2_TXD, GPIO27_SSP2_TXD,
GPIO29_SSP2_EXTCLK, GPIO29_SSP2_EXTCLK,
/* LEDs */
GPIO35_GPIO | MFP_LPM_PULL_LOW,
GPIO36_GPIO | MFP_LPM_DRIVE_HIGH,
}; };
static mfp_cfg_t raumfeld_speaker_pin_config[] __initdata = { static mfp_cfg_t raumfeld_speaker_pin_config[] __initdata = {
...@@ -277,6 +281,10 @@ static mfp_cfg_t raumfeld_speaker_pin_config[] __initdata = { ...@@ -277,6 +281,10 @@ static mfp_cfg_t raumfeld_speaker_pin_config[] __initdata = {
GPIO87_SSP1_TXD, GPIO87_SSP1_TXD,
GPIO88_SSP1_RXD, GPIO88_SSP1_RXD,
GPIO90_SSP1_SYSCLK, GPIO90_SSP1_SYSCLK,
/* LEDs */
GPIO35_GPIO | MFP_LPM_PULL_LOW,
GPIO36_GPIO | MFP_LPM_DRIVE_HIGH,
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment