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: 8059961 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 BFE509F744 for ; Tue, 19 Jan 2016 10:20:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B4C72037C for ; Tue, 19 Jan 2016 10:20:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 25652203DC for ; Tue, 19 Jan 2016 10:20:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932682AbcASKUx (ORCPT ); Tue, 19 Jan 2016 05:20:53 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:33602 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932623AbcASKUw (ORCPT ); Tue, 19 Jan 2016 05:20:52 -0500 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>; 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 Cc: linux-samsung-soc@vger.kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, k.kozlowski@samsung.com, devicetree@vger.kernel.org, kgene@kernel.org, alim.akhtar@samsung.com 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 {