All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] arm: pxa3xx: cm-x300: fix V3020 RTC functionality
@ 2011-05-09 11:41 Igor Grinberg
  2011-05-09 11:41 ` [PATCH 2/4] arm: pxa3xx: cm-x300: GPIO cleanup Igor Grinberg
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Igor Grinberg @ 2011-05-09 11:41 UTC (permalink / raw)
  To: linux-arm-kernel

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>
Cc: stable at kernel.org
---
 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 b2248e7..8a03487 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 = {
 	GPIO99_GPIO,			/* Ethernet IRQ */
 
 	/* RTC GPIOs */
-	GPIO95_GPIO,			/* RTC CS */
-	GPIO96_GPIO,			/* RTC WR */
-	GPIO97_GPIO,			/* RTC RD */
-	GPIO98_GPIO,			/* RTC IO */
+	GPIO95_GPIO | MFP_LPM_DRIVE_HIGH,	/* RTC CS */
+	GPIO96_GPIO | MFP_LPM_DRIVE_HIGH,	/* RTC WR */
+	GPIO97_GPIO | MFP_LPM_DRIVE_HIGH,	/* RTC RD */
+	GPIO98_GPIO,				/* RTC IO */
 
 	/* Standard I2C */
 	GPIO21_I2C_SCL,
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-05-19 16:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-09 11:41 [PATCH 1/4] arm: pxa3xx: cm-x300: fix V3020 RTC functionality Igor Grinberg
2011-05-09 11:41 ` [PATCH 2/4] arm: pxa3xx: cm-x300: GPIO cleanup Igor Grinberg
2011-05-17 13:22   ` Eric Miao
2011-05-09 11:41 ` [PATCH 3/4] arm: pxa3xx: cm-x300: minor style cleanup Igor Grinberg
2011-05-17 13:22   ` Eric Miao
2011-05-09 11:41 ` [PATCH 4/4] arm: pxa3xx: cm-x300: update cm_x300_defconfig Igor Grinberg
2011-05-19 16:04   ` Igor Grinberg
2011-05-17 12:34 ` [PATCH 1/4] arm: pxa3xx: cm-x300: fix V3020 RTC functionality Igor Grinberg
2011-05-17 13:21 ` Eric Miao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.