From patchwork Tue May 21 09:35:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 10953251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C67951390 for ; Tue, 21 May 2019 09:35:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B66641FFF9 for ; Tue, 21 May 2019 09:35:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA4842881A; Tue, 21 May 2019 09:35:43 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 474121FFF9 for ; Tue, 21 May 2019 09:35:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727640AbfEUJfm (ORCPT ); Tue, 21 May 2019 05:35:42 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:34941 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbfEUJfj (ORCPT ); Tue, 21 May 2019 05:35:39 -0400 Received: by mail-pl1-f196.google.com with SMTP id p1so2790729plo.2 for ; Tue, 21 May 2019 02:35:39 -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:in-reply-to:references :in-reply-to:references; bh=67/AKyXoPFVp4cqttbJIppWLYmQiwde4dFyqAbFMmds=; b=DtcDve6YywCjAO1Gsx8n2ByBki/1JYbbOX381slvKMV9kqYC9i/m6ea1ZqmczWSeKJ qqinec8tk6aq3RdfMXDADkRPldNJAIdHTf81Temc82fxlreA37oQX5+dxGSYoBTfK+C8 aNYiUHcx14/Vg2bePe7wUj8oXrCjHJycTTpDU7/m1nMae4WUhAGfJgeGUAMQAEZHOXnP ZpvFoRcx11tWKDofMV0grUAUO+2AHW2K692bkC+Qfckgqfel0BadkZkytFuc0l5oGoTX 9TtvuHADwTMhqgL6LI75jXktyrisaqvty1N9KqLoE5ZCWGdptB4SH7o82p/0uRv1PQFo SRBg== 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:in-reply-to :references:in-reply-to:references; bh=67/AKyXoPFVp4cqttbJIppWLYmQiwde4dFyqAbFMmds=; b=jBKVZard4m1fFlrN34Zs2JliTa5c/AWC+YTLN8ro7IPUnjj/s+vaAtxBgtQomskcED ERqOdoMPYVKu6ai5IbdyCKedKmBYvrBV8SHPe00zwnOt/3wATmP+CeuFSKR9wUomfhZu RQgMpXjF2iKgIf2EthIBnRxQII42MNQ1JjaIEnCvE2vk3zYiRz9nwi2NFoUrz229Uf8H mYsq00ZqSlzCjL5EkhsaFAo1DL4HayPp3gXmypxLgtX81917S3k1OVchQKKWARSckK4h HNf8SkLTsH8qHgeFApORUGLFX4heDoGtKYlssW/73Xno727IES3NsAB+SL53wjYvwDJZ 9xLQ== X-Gm-Message-State: APjAAAVtXa2RlgnbjvIn4VVqtWMklkTWCvyprzY4xeO6EgWum81Kdnl1 vKjrfvt6zXKv1csUmwge66aEtQ== X-Google-Smtp-Source: APXvYqxxPPHeM5A1TWlSQXxfOe059MDl8jQsVAYupC1E8gblrClJ2SJk4Nozm6RXlLG4FgvOu7E9vw== X-Received: by 2002:a17:902:9f8b:: with SMTP id g11mr74826615plq.199.1558431338839; Tue, 21 May 2019 02:35:38 -0700 (PDT) Received: from localhost ([49.248.189.249]) by smtp.gmail.com with ESMTPSA id n21sm23297281pgf.28.2019.05.21.02.35.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 May 2019 02:35:38 -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 Subject: [PATCH v2 4/9] arm64: dts: qcom: msm8916: Use more generic idle state names Date: Tue, 21 May 2019 15:05:14 +0530 Message-Id: <606afcaab57021faacdb47220b9d9d0f5a27f7b8.1558430617.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Instead of using Qualcomm-specific terminology, use generic node names for the idle states that are easier to understand. Move the description into the "idle-state-name" property. Signed-off-by: Amit Kucheria Reviewed-by: Niklas Cassel Acked-by: Daniel Lezcano --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 82ea5b8b37a2..3a8c6c4fcf15 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -110,7 +110,7 @@ reg = <0x0>; next-level-cache = <&L2_0>; enable-method = "psci"; - cpu-idle-states = <&CPU_SPC>; + cpu-idle-states = <&CPU_SLEEP_0>; clocks = <&apcs>; operating-points-v2 = <&cpu_opp_table>; #cooling-cells = <2>; @@ -122,7 +122,7 @@ reg = <0x1>; next-level-cache = <&L2_0>; enable-method = "psci"; - cpu-idle-states = <&CPU_SPC>; + cpu-idle-states = <&CPU_SLEEP_0>; clocks = <&apcs>; operating-points-v2 = <&cpu_opp_table>; #cooling-cells = <2>; @@ -134,7 +134,7 @@ reg = <0x2>; next-level-cache = <&L2_0>; enable-method = "psci"; - cpu-idle-states = <&CPU_SPC>; + cpu-idle-states = <&CPU_SLEEP_0>; clocks = <&apcs>; operating-points-v2 = <&cpu_opp_table>; #cooling-cells = <2>; @@ -146,7 +146,7 @@ reg = <0x3>; next-level-cache = <&L2_0>; enable-method = "psci"; - cpu-idle-states = <&CPU_SPC>; + cpu-idle-states = <&CPU_SLEEP_0>; clocks = <&apcs>; operating-points-v2 = <&cpu_opp_table>; #cooling-cells = <2>; @@ -160,8 +160,9 @@ idle-states { entry-method = "psci"; - CPU_SPC: spc { + CPU_SLEEP_0: cpu-sleep-0 { compatible = "arm,idle-state"; + idle-state-name = "standalone-power-collapse"; arm,psci-suspend-param = <0x40000002>; entry-latency-us = <130>; exit-latency-us = <150>;