From patchwork Tue Jan 19 10:21:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 8059971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D254A9F1CC for ; Tue, 19 Jan 2016 10:22:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC2CB2037C for ; Tue, 19 Jan 2016 10:22:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DCFA3203A0 for ; Tue, 19 Jan 2016 10:22:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aLTPY-0004G2-DJ; Tue, 19 Jan 2016 10:21:16 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aLTPV-0004Dl-DE for linux-arm-kernel@lists.infradead.org; Tue, 19 Jan 2016 10:21:14 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O17013FR3EPSNC0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 19 Jan 2016 19:20:49 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.122]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 15.4A.04790.10E0E965; Tue, 19 Jan 2016 19:20:49 +0900 (KST) X-AuditID: cbfee691-f79766d0000012b6-6b-569e0e015113 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 21.5F.13906.10E0E965; Tue, 19 Jan 2016 19:20:49 +0900 (KST) Received: from exypnos.sisodomain.com ([107.108.73.28]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O1700L6T3E2ME80@mmp1.samsung.com>; Tue, 19 Jan 2016 19:20:49 +0900 (KST) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: Add PSCI function IDs for cpu-{on, off} on exynos7 Date: Tue, 19 Jan 2016 15:51:24 +0530 Message-id: <1453198884-28723-1-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLLMWRmVeSWpSXmKPExsWyRsSkSpeRb16YwZV3JhYP5m1js3i/rIfR Yv6Rc6wWr18YWvQ/fs1ssenxNVaLGef3MVksvX6RyeLlxxMsDpwea+atYfTYtKqTzWPzknqP vi2rGD0+b5ILYI3isklJzcksSy3St0vgyri34iljwTHWiqVHGlgbGE+wdDFyckgImEj8mHMY yhaTuHBvPVsXIxeHkMAKRonNE/awwxR1bPzPCJFYyihxsv0kVNVPRolrG7czglSxCWhL3J2+ hQnEFhHQkJjS9ZgdpIhZ4CxQx8dvzCAJYQE/ie6FV8FsFgFViWXXl4Lt5hVwl/j9biUzxDpF ie5nE8A2SAh0s0ssnXuZBaJBQOLb5ENANgdQQlZi0wGoekmJgytusExgFFzAyLCKUTS1ILmg OCm9yFSvODG3uDQvXS85P3cTIzCUT/97NnEH4/0D1ocYBTgYlXh4I9/PDRNiTSwrrsw9xGgK tGEis5Rocj4wYvJK4g2NzYwsTE1MjY3MLc2UxHl1pH8GCwmkJ5akZqemFqQWxReV5qQWH2Jk 4uCUamAMVD/EP//q/dviWeu3uG1rzaoQZs/hPSn/PL358uaerdw/z9hd9HdINBRYUDUr6eSU Nj392YpaUiaC71ZP/5TtYCxe6vR6a1dSnfWySUGff4a+PJHuuPRGV5lYMdPGTylXbP8mnNq6 SWqmtVXkO37DY5dXfFMPzvZuKZKzucIR/bnecPJVoctKLMUZiYZazEXFiQCsfYf9YAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsVy+t9jAV1GvnlhBhu2aVk8mLeNzeL9sh5G i/lHzrFavH5haNH/+DWzxabH11gtZpzfx2Sx9PpFJouXH0+wOHB6rJm3htFj06pONo/NS+o9 +rasYvT4vEkugDWqgdEmIzUxJbVIITUvOT8lMy/dVsk7ON453tTMwFDX0NLCXEkhLzE31VbJ xSdA1y0zB+geJYWyxJxSoFBAYnGxkr4dpgmhIW66FjCNEbq+IUFwPUYGaCBhDWPGvRVPGQuO sVYsPdLA2sB4gqWLkZNDQsBEomPjf0YIW0ziwr31bF2MXBxCAksZJU62n4RyfjJKXNu4HayK TUBb4u70LUwgtoiAhsSUrsfsIEXMAmeBOj5+YwZJCAv4SXQvvApmswioSiy7vhRsHa+Au8Tv dyuZIdYpSnQ/m8A2gZF7ASPDKkaJ1ILkguKk9FzDvNRyveLE3OLSvHS95PzcTYzgeHkmtYPx 4C73Q4wCHIxKPLwT7OeGCbEmlhVX5h5ilOBgVhLhvco9L0yINyWxsiq1KD++qDQntfgQoynQ AROZpUST84GxnFcSb2hsYm5qbGppYmFiZqkkzlt7KTJMSCA9sSQ1OzW1ILUIpo+Jg1OqgdHr z5EfGmwPPWXMvmVPLDCXTudhZy413vG37U98XHc/54urexxeKE86Vegg/MGyTOZkzO7bc8LX /Vp7/PCKOkvvsx1npZRc9C/46tdZCml5/nU0cmOMZWp/9nDxgzkTi63YvdulX6/+tUYivDy8 J9ld5tir5QocJybYh6lOTMrrUHvgNIFjqxJLcUaioRZzUXEiAL4ssg+tAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160119_022113_596793_4FB8F2BA X-CRM114-Status: GOOD ( 10.49 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, k.kozlowski@samsung.com, linux-samsung-soc@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, kgene@kernel.org, alim.akhtar@samsung.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 {