-
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.
Merge branch 'renesas-r8a7740' into renesas-soc
* renesas-r8a7740: ARM: mach-shmobile: r8a7740 generic board support via DT ARM: shmobile: r8a7740: add A4LC pm domain support ARM: shmobile: r8a7740: add A3SP pm domain support ARM: shmobile: r8a7740: add A4S pm domain support ARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control ARM: shmobile: use common DMAEngine definitions on r8a7740 ARM: shmobile: r8a7740: add DMAEngine support for USB ARM: shmobile: r8a7740: add DMAEngine support for SDHI ARM: shmobile: r8a7740: add DMAEngine support for FSI
- Loading branch information
Showing
7 changed files
with
453 additions
and
3 deletions.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Device Tree Source for the r8a7740 SoC | ||
* | ||
* Copyright (C) 2012 Renesas Solutions Corp. | ||
* | ||
* This file is licensed under the terms of the GNU General Public License | ||
* version 2. This program is licensed "as is" without any warranty of any | ||
* kind, whether express or implied. | ||
*/ | ||
|
||
/include/ "skeleton.dtsi" | ||
|
||
/ { | ||
compatible = "renesas,r8a7740"; | ||
|
||
cpus { | ||
cpu@0 { | ||
compatible = "arm,cortex-a9"; | ||
}; | ||
}; | ||
}; |
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
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,54 @@ | ||
/* | ||
* 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 <linux/console.h> | ||
#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, | ||
}; | ||
|
||
static int r8a7740_pd_a3sp_suspend(void) | ||
{ | ||
/* | ||
* Serial consoles make use of SCIF hardware located in A3SP, | ||
* keep such power domain on if "no_console_suspend" is set. | ||
*/ | ||
return console_suspend_enabled ? 0 : -EBUSY; | ||
} | ||
|
||
struct rmobile_pm_domain r8a7740_pd_a3sp = { | ||
.genpd.name = "A3SP", | ||
.bit_shift = 11, | ||
.gov = &pm_domain_always_on_gov, | ||
.no_debug = true, | ||
.suspend = r8a7740_pd_a3sp_suspend, | ||
}; | ||
|
||
struct rmobile_pm_domain r8a7740_pd_a4lc = { | ||
.genpd.name = "A4LC", | ||
.bit_shift = 1, | ||
}; | ||
|
||
#endif /* CONFIG_PM */ |
Oops, something went wrong.