projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf5511
)
ARM: EXYNOS: Enable mcpm for dual-cluster exynos5800 SoC
author
Abhilash Kesavan
<a.kesavan@samsung.com>
Tue, 27 May 2014 16:19:35 +0000
(
01:19
+0900)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Fri, 30 May 2014 17:55:00 +0000
(
02:55
+0900)
The exynos5800 is very similar to exynos5420. We can re-use
the existing MCPM support for exynos5800 for secondary boot
-up and switching.
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/mcpm-exynos.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-exynos/mcpm-exynos.c
b/arch/arm/mach-exynos/mcpm-exynos.c
index
1ac618c
..
20707bd
100644
(file)
--- a/
arch/arm/mach-exynos/mcpm-exynos.c
+++ b/
arch/arm/mach-exynos/mcpm-exynos.c
@@
-290,13
+290,19
@@
static void __naked exynos_pm_power_up_setup(unsigned int affinity_level)
"b cci_enable_port_for_self");
}
+static const struct of_device_id exynos_dt_mcpm_match[] = {
+ { .compatible = "samsung,exynos5420" },
+ { .compatible = "samsung,exynos5800" },
+ {},
+};
+
static int __init exynos_mcpm_init(void)
{
struct device_node *node;
void __iomem *ns_sram_base_addr;
int ret;
- node = of_find_
compatible_node(NULL, NULL, "samsung,exynos5420"
);
+ node = of_find_
matching_node(NULL, exynos_dt_mcpm_match
);
if (!node)
return -ENODEV;
of_node_put(node);