-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 319262 b: refs/heads/master c: 8459293 h: refs/heads/master v: v3
- Loading branch information
Kuninori Morimoto
authored and
Rafael J. Wysocki
committed
Jul 6, 2012
1 parent
be52790
commit bacd8d1
Showing
5 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 444c5ed8d746140cd8f5591f708e5f1f84a9876e | ||
refs/heads/master: 8459293c27bcd13aabacb7ee8097f6818f2ceedb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* r8a7740 power management support | ||
* | ||
* Copyright (C) 2012 Renesas Solutions Corp. | ||
* Copyright (C) 2012 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | ||
* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
*/ | ||
#include <mach/pm-rmobile.h> | ||
|
||
#ifdef CONFIG_PM | ||
static int r8a7740_pd_a4s_suspend(void) | ||
{ | ||
/* | ||
* The A4S domain contains the CPU core and therefore it should | ||
* only be turned off if the CPU is in use. | ||
*/ | ||
return -EBUSY; | ||
} | ||
|
||
struct rmobile_pm_domain r8a7740_pd_a4s = { | ||
.genpd.name = "A4S", | ||
.bit_shift = 10, | ||
.gov = &pm_domain_always_on_gov, | ||
.no_debug = true, | ||
.suspend = r8a7740_pd_a4s_suspend, | ||
}; | ||
#endif /* CONFIG_PM */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters