devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: Add PSCI function IDs for cpu-{on,off} on exynos7
@ 2016-01-19 10:21 Alim Akhtar
       [not found] ` <1453198884-28723-1-git-send-email-alim.akhtar-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Alim Akhtar @ 2016-01-19 10:21 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-samsung-soc, mark.rutland, catalin.marinas, will.deacon,
	k.kozlowski, devicetree, kgene, alim.akhtar

This patch adds cpu-{on,off} function IDs as per PSCI specification,
with this we can boot multiple CPUs and can use cpu hotplug on
exynos7 platform.

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynos7.dtsi |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi
index f9c5a549c2c0..1a2bb3b453e5 100644
--- a/arch/arm64/boot/dts/exynos/exynos7.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi
@@ -65,6 +65,8 @@
 	psci {
 		compatible = "arm,psci-0.2";
 		method = "smc";
+		cpu_on = <0xC4000003>;
+		cpu_off = <0x84000002>;
 	};
 
 	soc: soc {
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-20  2:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-19 10:21 [PATCH] arm64: dts: Add PSCI function IDs for cpu-{on,off} on exynos7 Alim Akhtar
     [not found] ` <1453198884-28723-1-git-send-email-alim.akhtar-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-01-19 10:32   ` Mark Rutland
2016-01-20  2:52     ` Alim Akhtar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).