From patchwork Tue May 21 09:35:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 164696 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp1374992ili; Tue, 21 May 2019 02:35:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRojfo8GtqWJQqFun3hlAwFiT94atG9mTRQPVnJtkmKqp88MSqU/8KQyoWZqC3gc+GUaGs X-Received: by 2002:a62:65c1:: with SMTP id z184mr67138089pfb.130.1558431326192; Tue, 21 May 2019 02:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558431326; cv=none; d=google.com; s=arc-20160816; b=nOUxVkYxikpKEWl6GeNySefm/qJ0RhkdczHU67HrUAjkDwFjebwHZbvIO7a0AtXYLJ J019IA5JBebF/L+9q0aLNbbKlE1j0+gAirz2N8SbM8lCFixICKDPpIxzUadX4ZDZaZJU WMDKI3LPMlhtXTeEvEduMwiiX9SHw7mNRz7zcJnHcYMm0mAzncxRKpUwB6rxs5qgOwl8 pMuWgVSFNTHCNL/XeTPyMZ9v16srx0gsRD0aUEtNuE5AenAtadTTe6+oe2PYRbYuQfpo g7hHa1ajpMl9j1V3REWxFKhAlPl1hcJ+bLj84VzLgzR9VyEOyAxQdVJ0t67YMqDFWiiZ yBRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=BcrBjNA9Tz5dGFNp5fZjQydBqPzFfr7sOnV00Q/kGKk=; b=yPST/lhbySHz0GqUwzYRJuZf3J9w+5CAXLSQjOLku/TYlg+Z1u/LlOvP4beG6W9roN CF8h3XX8HCmzTES2ERpQpeFdE62y4yyvx35GzZZLChI1rnn9fy2ndk11vrqeT0oVoKhx asKbeOQWNOiSrK6zjY0AY558AHjxb/x/XU3BsTbRm9LLJGE5juJ0Uhr9NcEkd50ZaIb+ 77+t90/VYlkr6m18CUWpwrkGz/7/wEnC5HAF6rjIOiEPWVaeTLHNBw86oXAIUZXIFI93 10gRzegKfB0JCMGIRZ4rMb8WRPKY2wotAGaNudctXSBnOqT9AfHajTs0xcVzBhk2VoIA c1cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mHnuGqwc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si16962084pld.295.2019.05.21.02.35.25; Tue, 21 May 2019 02:35:26 -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; dkim=pass header.i=@linaro.org header.s=google header.b=mHnuGqwc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726900AbfEUJfZ (ORCPT + 7 others); Tue, 21 May 2019 05:35:25 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37979 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726347AbfEUJfZ (ORCPT ); Tue, 21 May 2019 05:35:25 -0400 Received: by mail-pl1-f195.google.com with SMTP id f97so8158937plb.5 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=azj5QMU/WQnF8IrTicnnzN17SKwCEoMmaVdslkdf5i378clqZt49+Z/4jOe3ddLrZq m5KuF3893qUJrYcm8PAHw8QHZUgnYLwB9tGKHp5y+fvonoqCgKwZFY5+pZRpHFbMF9Ux YGc4hzfuQbfJ2uddrBNfOBQHjB6GbY22jofVuZEsUWWx/7S0pte9YECwBOfd3UDCGhrb V6SsgvyrDXVbMdffQ5ahfZ+XdFxtjYnYZEfU/mhlrLB7eJ6z0X1KOzC9mUMsUrVFK9wx ofJ0keDDKlYMHbGr24+Ixj1SDeAshygp+XwQ3X70nZBdJbH9WVRWEGafMTlhAkYw+JcL Ww+A== X-Gm-Message-State: APjAAAU2/p/qATlqSi65Xhfja2RsLulpjLleQoYOTWMJXuB7UBm5oDOW n+WIT44vr2VCCRODUmJJAsNtkg== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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