From patchwork Tue Jan 9 07:59:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 10151127 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BA69A601A1 for ; Tue, 9 Jan 2018 08:02:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B058728967 for ; Tue, 9 Jan 2018 08:02:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5030289B7; Tue, 9 Jan 2018 08:02:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2704528967 for ; Tue, 9 Jan 2018 08:02:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757316AbeAIIBQ (ORCPT ); Tue, 9 Jan 2018 03:01:16 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:17674 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754260AbeAIH7I (ORCPT ); Tue, 9 Jan 2018 02:59:08 -0500 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20180109075907epoutp02292e648aa9a2cb8559297c34d6b2d8a9~IFVkcbSG00534605346epoutp021; Tue, 9 Jan 2018 07:59:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20180109075907epoutp02292e648aa9a2cb8559297c34d6b2d8a9~IFVkcbSG00534605346epoutp021 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1515484747; bh=1HNFzFRQ2i00BUFVXRPHvx5vG/3V2IIsetdbnHd2C5s=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=jRr4g+wHDo5HZXa+vLXiTHjIWydpd+bVxkrVNLSybQ1+BzDhSX7li5+RhIexP3ZZd tqduVTCl78Jl0U6+gX8bCSaIVOVclBMLDCpOTCn4cceW6itwLvC1ZNuLfESabLupif KwoNJRBWGaKC1GyjlQLl0tuUHtii/YkGMoGC0Ego= Received: from epsmges1p5.samsung.com (unknown [182.195.40.69]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180109075906epcas1p1932ca31bcbac41834a11d8ddd72a27a0~IFVj6wJtq2637426374epcas1p1h; Tue, 9 Jan 2018 07:59:06 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id A1.AE.04317.A46745A5; Tue, 9 Jan 2018 16:59:06 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180109075906epcas1p15df259f70311dd96fc2c9ff256b2b615~IFVjlQ2hA2398823988epcas1p1l; Tue, 9 Jan 2018 07:59:06 +0000 (GMT) X-AuditID: b6c32a39-e27ff700000010dd-f4-5a54764aff1a Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 43.1C.04148.946745A5; Tue, 9 Jan 2018 16:59:06 +0900 (KST) Received: from localhost.localdomain ([10.113.77.231]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P2A00EW93IGT980@mmp2.samsung.com>; Tue, 09 Jan 2018 16:59:05 +0900 (KST) From: Chanwoo Choi To: krzk@kernel.org, m.szyprowski@samsung.com, s.nawrocki@samsung.com, kgene@kernel.org Cc: tomasz.figa@gmail.com, cw00.choi@samsung.com, chanwoo@kernel.org, jh80.chung@samsung.com, inki.dae@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 8/9] arm64: dts: exynos: Add cpu_suspend property of PSCI for exynos5433 Date: Tue, 09 Jan 2018 16:59:05 +0900 Message-id: <1515484746-10656-9-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1515484746-10656-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIKsWRmVeSWpSXmKPExsWy7bCmvq5XWUiUwcTJMhYTb1xhsbj+5Tmr xfwj51gtJt2fwGJx41cbq0X/49fMFufPb2C32PT4GqvF5V1z2CxmnN/HZLH2yF12i8Nv2lkt Vu36w+jA67Fz1l12j02rOtk8Ni+p9+jbsorR4/MmuQDWqFSbjNTElNQihdS85PyUzLx0WyXv 4HjneFMzA0NdQ0sLcyWFvMTcVFslF58AXbfMHKAblRTKEnNKgUIBicXFSvp2NkX5pSWpChn5 xSW2StGGhkZ6hgbmekZGRnomxrFWRqZAJQmpGdPffmMveM5VsXe+fQPjRM4uRk4OCQETiY9P VjJ1MXJxCAnsYJT42HaEFcL5zigx88xGli5GDrCqr3esQBqEBDYwStxfkA9h/2CU6JstCmKz CWhJ7H9xgw3EFhGIlPi59xgjyBxmgd9A9cf6mUHmCAtESTxaVw1isgioSrxqCwMp5xVwlTiy 4QkbxD1yEh/2PGIHsTkF3CR2/1vDBjJGQmALm8TKVz1QRS4SfR97WCBsYYlXx7ewQ5wpLXHp qC1EfTujRPveecwQzhRGiXPX7zFBNBhLPFvYBWYzC/BJvPvawwrRzCvR0SYEUeIhsXD9aaiw o8SV596QIJnJKNF14jDjBEapBYwMqxjFUguKc9NT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1lG5YJ7hJveHqcjdmYM+WDrl05BmjzlEl 1eci1ydtf1rR2rX2kpiOEktxRqKhFnNRcSIAR1MQYjkCAAA= X-CMS-MailID: 20180109075906epcas1p15df259f70311dd96fc2c9ff256b2b615 X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180109075906epcas1p15df259f70311dd96fc2c9ff256b2b615 X-RootMTR: 20180109075906epcas1p15df259f70311dd96fc2c9ff256b2b615 References: <1515484746-10656-1-git-send-email-cw00.choi@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ARM64 Exynos5433 supports PSCI(Power State Coordinate Interface)[1] v0.1. When PSCI v0.1 is used, the device-tree should contain the specific entry point such as cpu_suspend. This patch adds the 'cpu_suspend' property in order to support the cpuidle and suspend execution on Exynos5433 SoC. The 'cpu_suspend' of psci is originally intended for use in idle subsystems. Although the cpuidle and suspend-to-RAM framework have separate routine in order to enter the low-power state, PSCI v0.1 doesn't support the separate the entry point such as 'system_suspend' on PSCI v1.0. So, the 'cpu_suspend' of PSCI v0.1 on Exynos5433 is used for both cpuidle and suspend-to-RAM. [1] http://infocenter.arm.com/help/topic/com.arm.doc.den0022d/Power_State_Coordination_Interface_PDD_v1_1_DEN0022D.pdf Signed-off-by: Chanwoo Choi --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 77f4321b247c..0d99ded21202 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -227,6 +227,7 @@ psci { compatible = "arm,psci"; method = "smc"; + cpu_suspend = <0xc4000001>; cpu_off = <0x84000002>; cpu_on = <0xC4000003>; };