* [PATCH] arm: exynos: Enable mcpm for dual-cluster 5800 SoC
@ 2014-05-26 5:54 ` Abhilash Kesavan
0 siblings, 0 replies; 4+ messages in thread
From: Abhilash Kesavan @ 2014-05-26 5:54 UTC (permalink / raw)
To: linux-samsung-soc, linux-arm-kernel, kgene.kim, t.figa; +Cc: Abhilash Kesavan
5800 is very similar to 5420. We can re-use the existing
MCPM support for 5800 for secondary boot-up and switching.
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
---
arch/arm/mach-exynos/mcpm-exynos.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-exynos/mcpm-exynos.c b/arch/arm/mach-exynos/mcpm-exynos.c
index 1ac618c..20707bd 100644
--- 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);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] arm: exynos: Enable mcpm for dual-cluster 5800 SoC
@ 2014-05-26 5:54 ` Abhilash Kesavan
0 siblings, 0 replies; 4+ messages in thread
From: Abhilash Kesavan @ 2014-05-26 5:54 UTC (permalink / raw)
To: linux-arm-kernel
5800 is very similar to 5420. We can re-use the existing
MCPM support for 5800 for secondary boot-up and switching.
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
---
arch/arm/mach-exynos/mcpm-exynos.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-exynos/mcpm-exynos.c b/arch/arm/mach-exynos/mcpm-exynos.c
index 1ac618c..20707bd 100644
--- 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);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: exynos: Enable mcpm for dual-cluster 5800 SoC
2014-05-26 5:54 ` Abhilash Kesavan
@ 2014-05-30 18:21 ` Kukjin Kim
-1 siblings, 0 replies; 4+ messages in thread
From: Kukjin Kim @ 2014-05-30 18:21 UTC (permalink / raw)
To: Abhilash Kesavan; +Cc: linux-samsung-soc, linux-arm-kernel, kgene.kim, t.figa
On 05/26/14 14:54, Abhilash Kesavan wrote:
> 5800 is very similar to 5420. We can re-use the existing
> MCPM support for 5800 for secondary boot-up and switching.
>
> Signed-off-by: Abhilash Kesavan<a.kesavan@samsung.com>
> ---
> arch/arm/mach-exynos/mcpm-exynos.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-exynos/mcpm-exynos.c b/arch/arm/mach-exynos/mcpm-exynos.c
> index 1ac618c..20707bd 100644
> --- 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);
Applied, thanks.
- Kukjin
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm: exynos: Enable mcpm for dual-cluster 5800 SoC
@ 2014-05-30 18:21 ` Kukjin Kim
0 siblings, 0 replies; 4+ messages in thread
From: Kukjin Kim @ 2014-05-30 18:21 UTC (permalink / raw)
To: linux-arm-kernel
On 05/26/14 14:54, Abhilash Kesavan wrote:
> 5800 is very similar to 5420. We can re-use the existing
> MCPM support for 5800 for secondary boot-up and switching.
>
> Signed-off-by: Abhilash Kesavan<a.kesavan@samsung.com>
> ---
> arch/arm/mach-exynos/mcpm-exynos.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-exynos/mcpm-exynos.c b/arch/arm/mach-exynos/mcpm-exynos.c
> index 1ac618c..20707bd 100644
> --- 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);
Applied, thanks.
- Kukjin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-30 18:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 5:54 [PATCH] arm: exynos: Enable mcpm for dual-cluster 5800 SoC Abhilash Kesavan
2014-05-26 5:54 ` Abhilash Kesavan
2014-05-30 18:21 ` Kukjin Kim
2014-05-30 18:21 ` Kukjin Kim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.