提交 6c7b3ea5 编写于 作者: I Igor Grinberg 提交者: Eric Miao

ARM: pxa/cm-x300: fix V3020 RTC functionality

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: NIgor Grinberg <grinberg@compulab.co.il>
Cc: stable@kernel.org
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
上级 150f164e
...@@ -161,10 +161,10 @@ static mfp_cfg_t cm_x3xx_mfp_cfg[] __initdata = { ...@@ -161,10 +161,10 @@ static mfp_cfg_t cm_x3xx_mfp_cfg[] __initdata = {
GPIO99_GPIO, /* Ethernet IRQ */ GPIO99_GPIO, /* Ethernet IRQ */
/* RTC GPIOs */ /* RTC GPIOs */
GPIO95_GPIO, /* RTC CS */ GPIO95_GPIO | MFP_LPM_DRIVE_HIGH, /* RTC CS */
GPIO96_GPIO, /* RTC WR */ GPIO96_GPIO | MFP_LPM_DRIVE_HIGH, /* RTC WR */
GPIO97_GPIO, /* RTC RD */ GPIO97_GPIO | MFP_LPM_DRIVE_HIGH, /* RTC RD */
GPIO98_GPIO, /* RTC IO */ GPIO98_GPIO, /* RTC IO */
/* Standard I2C */ /* Standard I2C */
GPIO21_I2C_SCL, GPIO21_I2C_SCL,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册