From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB3FAC04E87 for ; Tue, 21 May 2019 09:35:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EA6721743 for ; Tue, 21 May 2019 09:35:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mHnuGqwc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727536AbfEUJfZ (ORCPT ); Tue, 21 May 2019 05:35:25 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:37664 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726389AbfEUJfZ (ORCPT ); Tue, 21 May 2019 05:35:25 -0400 Received: by mail-pl1-f193.google.com with SMTP id p15so8171820pll.4 for ; Tue, 21 May 2019 02:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=BcrBjNA9Tz5dGFNp5fZjQydBqPzFfr7sOnV00Q/kGKk=; b=mHnuGqwcHVA9QzUzGRIKoiCvFyVfKiGJP6H7y0Cp2QQlhUyM7G/saLc/IHsxYHTwMY 4NHNLLxX0/CHcCb59QKSUsrh+dU0H9NtQU1pBkpJxgnEfT4P45oEwHv0wYxRaJdhv3NU TFl9+8FakXz2Thwqfqr/KfUXeGW6/+d7V7R38raqQZ7Nx4rZvhq8z+QhMkK7aMpVxYXV xriAdfsqiPih9oqpc4JGK9eN3MX2A+UFHjUPvp6XEivePvPVIhzPaxeLWAykvb/D9wMG /FCr2p84dKHyzkV18sbme240jtTPFIwQz1VQeFEW4RYTBXspZ5lPkuNIIg5YRz+ELfAa 1IQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BcrBjNA9Tz5dGFNp5fZjQydBqPzFfr7sOnV00Q/kGKk=; b=Tm3ilifI8RaqK7nCji87R5kJQFTwoefBlNXgo4cDCqBa+cHi93pqALFlWh/3ptQbqL nSXK6+Hzli44S9Sr2vqJ41aaeKTp7QrNrPDpDttcpoKd4ap/P0o+umO7wfHizPctMk5V EZ61hF/78kshZPjW9mAUeq0cjCuyl8FtvyhxRjy75BDdr3jEWt3bITDmqUOA5Ztz8DPj EjeP8MPjQ9Qj45rPO8pvfaDdjPGyyCAMdUltIDv24JtPsaCEvaNPCPvHVxOOpNABQauj W94q6uFg7iCMFWot+Qjbn6Bi9jWpTVDBI6lMdFp58fA/OqGO/hvLznWnkdhB72EtoeyR h9vA== X-Gm-Message-State: APjAAAXf3Xtfpy+YchP+OT7V3fvAMdkWZg+f6EpoGFSz2sGux9+lMBCk tMUGr4ib+UteNY2vx4/qrd2+H0EoXsujzA== X-Google-Smtp-Source: APXvYqwXbni4FmWu8cVHkn7REQOdZWicQVyH7AbWOk5ATCaQQKLGT8i5VShHXpOcZkUcef7q6DJpGA== X-Received: by 2002:a17:902:4481:: with SMTP id l1mr68079415pld.121.1558431324465; Tue, 21 May 2019 02:35:24 -0700 (PDT) Received: from localhost ([49.248.189.249]) by smtp.gmail.com with ESMTPSA id k22sm16995349pfk.54.2019.05.21.02.35.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 May 2019 02:35:23 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, agross@kernel.org, niklas.cassel@linaro.org, marc.w.gonzalez@free.fr, sibis@codeaurora.org, daniel.lezcano@linaro.org, Andy Gross , David Brown , Li Yang , Shawn Guo Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/9] qcom: Add cpuidle to some platforms Date: Tue, 21 May 2019 15:05:10 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since v1: - Reworded changes to the idle-state documentation on Sudeep's feedback. - Renamed several idle-state node names to be homogeneous across qcom platforms. We now use cpu_sleep_0_0 format for the node name while using LITTLE_CPU_SLEEP_0 format for labels to help differentiate the different states for different CPU types. - Add a new patch to add capacity-dmips-mhz property for msm8996 to allow topology code to find its true capacity. - Add power-collapse state to msm8998 in additon to the retention state. - Added acks MSM8998 changes are untested for v2 because I couldn't access the mtp I usually have access to. Hopefully Marc and Sibi can help with testing. Description ----------- Fix up a few entry-method="psci" issues and then add cpuidle low power states for msm8996, msm8998, qcs404, sdm845. All these have been tested to only make sure that the C-states are entered from Linux point-of-view. We will continue to add more states and make power measurements to tweak some of these numbers, but getting these merged will allow other people to use these platforms to work on cpuidle, eas and related topics. Amit Kucheria (7): arm64: dts: fsl: ls1028a: Fix entry-method property to reflect documentation Documentation: arm: Link idle-states binding to "enable-method" property arm64: dts: qcom: msm8916: Add entry-method property for the idle-states node arm64: dts: qcom: msm8916: Use more generic idle state names arm64: dts: qcom: msm8996: Add PSCI cpuidle low power states arm64: dts: qcom: msm8998: Add PSCI cpuidle low power states arm64: dts: msm8996: Add proper capacity scaling for the cpus Niklas Cassel (1): arm64: dts: qcom: qcs404: Add PSCI cpuidle low power states Raju P.L.S.S.S.N (1): arm64: dts: qcom: sdm845: Add PSCI cpuidle low power states .../devicetree/bindings/arm/idle-states.txt | 13 +++- .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 13 ++-- arch/arm64/boot/dts/qcom/msm8996.dtsi | 21 ++++++ arch/arm64/boot/dts/qcom/msm8998.dtsi | 50 ++++++++++++++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 +++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 69 +++++++++++++++++++ 7 files changed, 177 insertions(+), 9 deletions(-) -- 2.17.1