From patchwork Tue Nov 17 22:37:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 56904 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp2220453lbb; Tue, 17 Nov 2015 14:44:56 -0800 (PST) X-Received: by 10.68.179.228 with SMTP id dj4mr66687932pbc.112.1447799964851; Tue, 17 Nov 2015 14:39:24 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hx5si60778575pbc.82.2015.11.17.14.39.24; Tue, 17 Nov 2015 14:39:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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 linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932090AbbKQWjW (ORCPT + 6 others); Tue, 17 Nov 2015 17:39:22 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:36088 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932641AbbKQWjQ (ORCPT ); Tue, 17 Nov 2015 17:39:16 -0500 Received: by pacdm15 with SMTP id dm15so22092373pac.3 for ; Tue, 17 Nov 2015 14:39:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gQWLnnusobSogbbA6xdCxF7d6N3k5fOB6Lcx0U0Knik=; b=E3tiGNdYHy3UgEIbgcgJymbeAUdOPyEbOJrYxwAcyBgUa+jtpaeXoYfazNVJ5dPe6/ r9QixNydF2+mof74apUoD+jq9Vr8zHOgigkcsrKvj5bXVpDpCXw1HjijkftHHJVUDeAO FtIhjINAakvBIjS3phiznNpUuswjlBKFUiCdQdyUU/HcvORmEHP2qTYOQyrwzolZmmiO kv1E+b0xnJ58y52Ebax//meQYhUTsX580c8c/OSMBGP4R9QG/KvIL/SYMyxuByrbXlAv 04Ryj2mbYsi//XJsyjf7+CBlqaiWigi3WdNsmom+FvL2goLdUvigOOWUSFh9VUtcnvjG esAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gQWLnnusobSogbbA6xdCxF7d6N3k5fOB6Lcx0U0Knik=; b=GWpbzhNpKYLcao4PLPm0cnj0u95dxa/FVX1Og31h1r9HyP6GSHR5+MW3NjhY97sGSx c8h8Vu6A4Toz+lkAa8i+qf+aXMuDpMttXQSDMjT7eU8FaluVzbAlpjsAtJZUpCfcJLVi EJXmtAUjzUpIgy6cn2A8qupsE/awXXXGZMYoifoTuePDp6RL4vrRFCPUCBR1CQ3SubnH CxiE2NOZiYpHzl9YBAQVuNpkjbN9OW3tBJASPvSIa78S7hmYxf2RgFTi7lSA6VBC0t6k jkHtHg8MPQyjbtCPiEOpMbeDZHHyqDQKRseUwHQPmKkj0KFD6s6qmogpcmNI5OzRZugm 0RuQ== X-Gm-Message-State: ALoCoQlR5G1UN3wftLPSBjjdIz866rwpIYNRiKN9DnL8dRhm6MKmUlzmHU1YvvMvIYky44PjdejW X-Received: by 10.66.141.73 with SMTP id rm9mr1212306pab.96.1447799955841; Tue, 17 Nov 2015 14:39:15 -0800 (PST) Received: from ubuntu.localdomain ([8.42.77.226]) by smtp.gmail.com with ESMTPSA id hy1sm14875199pbb.63.2015.11.17.14.39.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2015 14:39:09 -0800 (PST) From: Lina Iyer To: ulf.hansson@linaro.org, khilman@linaro.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: geert@linux-m68k.org, k.kozlowski@samsung.com, msivasub@codeaurora.org, agross@codeaurora.org, sboyd@codeaurora.org, linux-arm-msm@vger.kernel.org, lorenzo.pieralisi@arm.com, ahaslam@baylibre.com, mtitinger@baylibre.com, Lina Iyer Subject: [PATCH RFC 26/27] ARM64: dts: Add PSCI cpuidle support for MSM8916 Date: Tue, 17 Nov 2015 15:37:50 -0700 Message-Id: <1447799871-56374-27-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447799871-56374-1-git-send-email-lina.iyer@linaro.org> References: <1447799871-56374-1-git-send-email-lina.iyer@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add device bindings for CPUs to suspend using PSCI as the enable-method. Signed-off-by: Lina Iyer --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" 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/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 7be7c23..5806438 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -51,25 +51,49 @@ device_type = "cpu"; compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x0>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SPC>; }; CPU1: cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x1>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SPC>; }; CPU2: cpu@2 { device_type = "cpu"; compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x2>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SPC>; }; CPU3: cpu@3 { device_type = "cpu"; compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x3>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SPC>; }; + + idle-states { + CPU_SPC: spc { + compatible = "qcom,idle-state-spc", + "arm,idle-state"; + arm,psci-suspend-param = <0x40000002>; + entry-latency-us = <130>; + exit-latency-us = <150>; + min-residency-us = <2000>; + }; + }; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; }; timer {