diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-05-09 07:41:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-05 00:58:33 -0400 |
commit | 307167f9ca9c669ac3b67719e6619b22586858db (patch) | |
tree | 49ff1f8166206c07bfd2ed57dc5161f129d55481 | |
parent | 9ec4f65f5fa8211166e65854e8966d1bd5c4a180 (diff) |
ARM: pxa/cm-x300: fix V3020 RTC functionality
commit 6c7b3ea52e345ab614edb91d3f0e9f3bb3713871 upstream.
While in sleep mode the CS# and other V3020 RTC GPIOs must be driven
high, otherwise V3020 RTC fails to keep the right time in sleep mode.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | arch/arm/mach-pxa/cm-x300.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index b2248e76ec8..8a034872ac7 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c | |||
@@ -161,10 +161,10 @@ static mfp_cfg_t cm_x3xx_mfp_cfg[] __initdata = { | |||
161 | GPIO99_GPIO, /* Ethernet IRQ */ | 161 | GPIO99_GPIO, /* Ethernet IRQ */ |
162 | 162 | ||
163 | /* RTC GPIOs */ | 163 | /* RTC GPIOs */ |
164 | GPIO95_GPIO, /* RTC CS */ | 164 | GPIO95_GPIO | MFP_LPM_DRIVE_HIGH, /* RTC CS */ |
165 | GPIO96_GPIO, /* RTC WR */ | 165 | GPIO96_GPIO | MFP_LPM_DRIVE_HIGH, /* RTC WR */ |
166 | GPIO97_GPIO, /* RTC RD */ | 166 | GPIO97_GPIO | MFP_LPM_DRIVE_HIGH, /* RTC RD */ |
167 | GPIO98_GPIO, /* RTC IO */ | 167 | GPIO98_GPIO, /* RTC IO */ |
168 | 168 | ||
169 | /* Standard I2C */ | 169 | /* Standard I2C */ |
170 | GPIO21_I2C_SCL, | 170 | GPIO21_I2C_SCL, |