From: eric.y.miao@gmail.com (Eric Miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] arm: pxa3xx: cm-x300: fix V3020 RTC functionality
Date: Tue, 17 May 2011 21:21:55 +0800 [thread overview]
Message-ID: <BANLkTikegYHGxWE3dzBXEsaAZ-ffottkZA@mail.gmail.com> (raw)
In-Reply-To: <1304941309-13288-1-git-send-email-grinberg@compulab.co.il>
On Mon, May 9, 2011 at 7:41 PM, Igor Grinberg <grinberg@compulab.co.il> wrote:
> 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
Applied.
> ---
> ?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
>
>
prev parent reply other threads:[~2011-05-17 13:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTikegYHGxWE3dzBXEsaAZ-ffottkZA@mail.gmail.com \
--to=eric.y.miao@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).