From patchwork Fri Feb 12 20:50:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 61895 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1056328lbl; Fri, 12 Feb 2016 12:52:12 -0800 (PST) X-Received: by 10.66.65.109 with SMTP id w13mr5036644pas.142.1455310308263; Fri, 12 Feb 2016 12:51:48 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b27si22128384pfd.82.2016.02.12.12.51.47; Fri, 12 Feb 2016 12:51:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751189AbcBLUvq (ORCPT + 11 others); Fri, 12 Feb 2016 15:51:46 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:33360 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbcBLUvq (ORCPT ); Fri, 12 Feb 2016 15:51:46 -0500 Received: by mail-pa0-f43.google.com with SMTP id fl4so40181888pad.0 for ; Fri, 12 Feb 2016 12:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=340o9o6K42v7ekOgHdahut2UZH4w9Z53/78yLyG1HIY=; b=FvjtonBeMMvofKS+EB6yU96V3rsh+p3Bw6YJScmByQhcTlBYcBUHPwCUBDcXCpSTvY NvVkLxMiAGTybJVjmW3V08Es1jJUPnbUYWUpnIPct0NMsaJPDBvFaank2TZG8oI09DVh HILUYSt6PP7ugQ8DZIWowTuQ9JRQiVbJZRMMk= 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=340o9o6K42v7ekOgHdahut2UZH4w9Z53/78yLyG1HIY=; b=XW5cOFrZ3EAngUVCCSwXI71xNFz/Tob+Z1ophDsHod1HEA0MAalRE0+asIKzypR7Lq GbO8NpMHBcWuOA3YNJgiWYnm6erW8rji8ACkoLynRqYc5HAsZVifYieiX96jP/rtf8Mz EakfpfkyKXF+ZgNuqAv4pmt3tjy2UkclKIbK/QEGjvy1njeEKUEZKM0peED0WHV78/5I SLjKxgYGZBflQiCu1dxZP/GLHBP92PqTkdQbFiBs1NrooYsoBvw0xQ+J3bqDmXpyQpy8 zXri6hSRrA4533aKmLFzFicuqHDxT1tUILW07wTVJpuvdEqy1A5NroL3BTT9w5AhpLD1 oKqw== X-Gm-Message-State: AG10YOTtIJla01/1XNmLfXyzo1FQNxmf6xRjS1JwN7f4eIPU6qFLI01GWcnwfMppouQFCNXN X-Received: by 10.66.147.164 with SMTP id tl4mr5000479pab.40.1455310305639; Fri, 12 Feb 2016 12:51:45 -0800 (PST) Received: from ubuntu.localdomain ([172.56.8.98]) by smtp.gmail.com with ESMTPSA id x12sm21401070pfi.88.2016.02.12.12.51.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 12:51:44 -0800 (PST) From: Lina Iyer To: ulf.hansson@linaro.org, khilman@kernel.org, rjw@rjwysocki.net, 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: [RFC v2 11/12] ARM64: dts: Add PSCI cpuidle support for MSM8916 Date: Fri, 12 Feb 2016 13:50:37 -0700 Message-Id: <1455310238-8963-12-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1455310238-8963-1-git-send-email-lina.iyer@linaro.org> References: <1455310238-8963-1-git-send-email-lina.iyer@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add device bindings for CPUs to suspend using PSCI as the enable-method. Cc: 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-pm" 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 9153214..b7839a8 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -61,27 +61,51 @@ 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 = "arm,idle-state"; + arm,psci-suspend-param = <0x40000002>; + entry-latency-us = <130>; + exit-latency-us = <150>; + min-residency-us = <2000>; + local-timer-stop; + }; }; }; + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + timer { compatible = "arm,armv8-timer"; interrupts = ,