From patchwork Fri Feb 24 13:49:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 9590415 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 04853601AE for ; Fri, 24 Feb 2017 13:49:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 066D428757 for ; Fri, 24 Feb 2017 13:49:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC63528791; Fri, 24 Feb 2017 13:49:45 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1B4C128757 for ; Fri, 24 Feb 2017 13:49:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=A0lIEUzjgOyFk1A4CiXAbQ7fZN7gQFosdZtLuKm6DDY=; b=e1cxF4DQaE+ZXR4UFQDxSHx4Zq U6FLOT9ysAkMkVyO7HmLIogeL9i7ESW/Iba2ck5ueRMFyixeqP+bM+p1SN0B2QPXuWm1k5+NW7u4v eLWf+xgTt8XFHKtpvlUsq5ZyrjLuFqyp9h2jCZM4SZIrAUTQAnXRDeKnBypucwSF9rrwPNjUDtBz0 Ha7PeYRAt7L1uHSrwppHERMi1En4kwvoPmao/r3pelFnlb4Ur173gtsYGXIWNDe2+fVQB5crFupSx 6PlyKuduZz1jd3rkkp+fmadsemrq3JOKIL53CRmgXxYT1OT4xjBlVTaCqTunkIVvThMZvZunJ63vb Ah9i5jRQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1chGFk-0003Y6-H7; Fri, 24 Feb 2017 13:49:44 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1chGFg-0003LY-JH for linux-arm-kernel@lists.infradead.org; Fri, 24 Feb 2017 13:49:42 +0000 Received: from ayla.of.borg ([84.193.137.253]) by baptiste.telenet-ops.be with bizsmtp id odpG1u0035UCtCs01dpG43; Fri, 24 Feb 2017 14:49:17 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1chGFI-0000oL-21; Fri, 24 Feb 2017 14:49:16 +0100 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1chGFI-0008Bq-0n; Fri, 24 Feb 2017 14:49:16 +0100 From: Geert Uytterhoeven To: Simon Horman , Magnus Damm Subject: [PATCH v2 2/2] arm64: dts: r8a7796: Upgrade to PSCI v1.0 to support Suspend-to-RAM Date: Fri, 24 Feb 2017 14:49:14 +0100 Message-Id: <1487944154-31435-3-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487944154-31435-1-git-send-email-geert+renesas@glider.be> References: <1487944154-31435-1-git-send-email-geert+renesas@glider.be> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170224_054940_824046_B6F78FA5 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Takeshi Kihara , Geert Uytterhoeven , Khiem Nguyen , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Khiem Nguyen From PSCI v1.0, Suspend-to-RAM is supported via SYSTEM_SUSPEND PSCI function call. Hence, upgrade PSCI version for R-Car M3-W to support Suspend-to-RAM. The Suspend-to-RAM is highly dependent on ARM Trusted Firwmare support since necessary callback functions will be registered after a query to ARM Trusted Firmware about SYSTEM_SUSPEND support. Since PSCI v1.0 is backward compatible with PSCI v0.2, CPU Hotplug and CPUIdle should be able to work normally with this change. Signed-off-by: Khiem Nguyen Signed-off-by: Takeshi Kihara [geert: Keep "arm,psci-0.2"] Signed-off-by: Geert Uytterhoeven --- Khiem: I've updated your email address. v2: - Keep "arm,psci-0.2". --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index e664456490ec0cc7..4985274b3c5f4a06 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi @@ -29,7 +29,7 @@ }; psci { - compatible = "arm,psci-0.2"; + compatible = "arm,psci-1.0", "arm,psci-0.2"; method = "smc"; };