From patchwork Fri Aug 28 02:11:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: fan.chen@mediatek.com X-Patchwork-Id: 52794 Delivered-To: patch@linaro.org Received: by 10.112.151.194 with SMTP id us2csp205713lbb; Thu, 27 Aug 2015 19:12:32 -0700 (PDT) X-Received: by 10.68.135.194 with SMTP id pu2mr11274307pbb.131.1440727952745; Thu, 27 Aug 2015 19:12:32 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si7047991pdb.111.2015.08.27.19.12.31; Thu, 27 Aug 2015 19:12:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751150AbbH1CMb (ORCPT + 8 others); Thu, 27 Aug 2015 22:12:31 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:42695 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751020AbbH1CMa (ORCPT ); Thu, 27 Aug 2015 22:12:30 -0400 X-Listener-Flag: 11101 Received: from mtkhts09.mediatek.inc [(172.21.101.70)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 803490946; Fri, 28 Aug 2015 10:12:28 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkhts09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Fri, 28 Aug 2015 10:12:26 +0800 From: To: Mark Rutland , Matthias Brugger CC: , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Daniel Kurtz , Sascha Hauer , Eddie Huang , Daniel Lezcano , Howard Chen , Yingjoe Chen , , , , , Sudeep Holla , Fan Chen Subject: [PATCH] arm64: dts: mediatek: mt8173 PSCI-1.0 support Date: Fri, 28 Aug 2015 10:11:59 +0800 Message-ID: <1440727919-34719-1-git-send-email-fan.chen@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-MTK: N Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Fan Chen This patch adds psci comatible properties to support all mandatory functions of PSCI-1.0, PSCI-0.2 and PSCI-0.1, and system suspend can be supported in PSCI-1.0. Signed-off-by: Fan Chen --- Because PSCI-1.0 patches hadn't landed on mainline, this patch is based on three patch sets below: [0] http://www.spinics.net/lists/arm-kernel/msg425793.html PSCI: system suspend support [1] git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git psci/unification [2] http://www.spinics.net/lists/devicetree/msg82017.html [PATCH 0/6] drivers: firmware: psci: add basic v1.0 support Before they are merged in, this patch still works fine with psci-0.2 support in current mainline. --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..b9b4205 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -95,7 +95,7 @@ }; psci { - compatible = "arm,psci"; + compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci"; method = "smc"; cpu_suspend = <0x84000001>; cpu_off = <0x84000002>;