Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218495
b: refs/heads/master
c: fa5b078
h: refs/heads/master
i:
  218493: f1a9de9
  218491: 1c386a6
  218487: 1e1c71e
  218479: ffb5933
  218463: d499e6d
  218431: 652f701
  218367: 31b7343
v: v3
  • Loading branch information
Sekhar Nori authored and Linus Torvalds committed Oct 28, 2010
1 parent 92d626d commit 166c1fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 59cca865f21e9e7beab73fcf79ba4eb776a4c228
refs/heads/master: fa5b07820fe3a0fc06ac368516e71f10a59b9539
12 changes: 7 additions & 5 deletions trunk/drivers/rtc/rtc-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
* Board-specific wiring options include using split power mode with
* RTC_OFF_NOFF used as the reset signal (so the RTC won't be reset),
* and wiring RTC_WAKE_INT (so the RTC alarm can wake the system from
* low power modes). See the BOARD-SPECIFIC CUSTOMIZATION comment.
* low power modes) for OMAP1 boards (OMAP-L138 has this built into
* the SoC). See the BOARD-SPECIFIC CUSTOMIZATION comment.
*/

#define OMAP_RTC_BASE 0xfffb4800
Expand Down Expand Up @@ -401,16 +402,17 @@ static int __init omap_rtc_probe(struct platform_device *pdev)

/* BOARD-SPECIFIC CUSTOMIZATION CAN GO HERE:
*
* - Boards wired so that RTC_WAKE_INT does something, and muxed
* right (W13_1610_RTC_WAKE_INT is the default after chip reset),
* should initialize the device wakeup flag appropriately.
* - Device wake-up capability setting should come through chip
* init logic. OMAP1 boards should initialize the "wakeup capable"
* flag in the platform device if the board is wired right for
* being woken up by RTC alarm. For OMAP-L138, this capability
* is built into the SoC by the "Deep Sleep" capability.
*
* - Boards wired so RTC_ON_nOFF is used as the reset signal,
* rather than nPWRON_RESET, should forcibly enable split
* power mode. (Some chip errata report that RTC_CTRL_SPLIT
* is write-only, and always reads as zero...)
*/
device_init_wakeup(&pdev->dev, 0);

if (new_ctrl & (u8) OMAP_RTC_CTRL_SPLIT)
pr_info("%s: split power mode\n", pdev->name);
Expand Down

0 comments on commit 166c1fd

Please sign in to comment.