Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3359924pxj; Mon, 7 Jun 2021 08:45:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAu25Fvbd/WlI2YiA9S2c06uS/8mGQg/pBDWo9Jc5jSPN8Db3Zs6mIouwp8yN55NJv2RRW X-Received: by 2002:a05:6402:1e8b:: with SMTP id f11mr7813697edf.86.1623080738461; Mon, 07 Jun 2021 08:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623080738; cv=none; d=google.com; s=arc-20160816; b=DEnHYth9Pv2jyDbAqrXJIOIl/ZwWdq1Y5ijl63VqcJFt6eHrV65yqhkmUpmbKGSztR kF+7R/E3ILdeHz/MT4n8I/klDapfp1vxG35cJQYuc1lv5IYkLH5pKoBPkI90k3+Zi6w0 v6OPzx7cwnlQF0EpqXVdM3YMrTdimMqYEBKkJryGp1RvgGdk6dtL8y7f2Bu5N9xivsOv RecPDdk64q2SkOCsAxkhp9TMV6zUxsuMMOmyoNUICfaC6DSJuyzcI76ETzRdMYHnojKL YFXMoNThpsRevB/xZLEY27ofS2RdNSSo/keBWrUF2Dk4ukwJLEgI78ZgxEyNiMQFfXQD SCPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=7g4hY9ofyMiDSk8e8CWN6mBuYJ98OcC2FMg4rtzktqw=; b=mOmhRecU5xvNX9Ji3PafpHqVK54xC4EtJ1GKdXoaBd9/YObVeeRVaL7FnrSFqnwmsd nuGv+Bdqp69r63kGW15DkhS+3fgQe2TYULQ8p0eNUALO7Rq9wLBapTNiEb1XldirOW1U hU28S2vHxMvOrwvODW3nfbgN7CSrBoTj+4joXFgnqTm7FiBYCzWTDgGweSO+LxadB5ME oihh1bAYyDQP6zCWuvOXFpv1/W85SUWJ3Viy8NncNam7WYM9GdWz0yxcqky1/mBuekdB Sm2kCe+40rn0Bezwe19YntCbDtsBrhMz8l4gu+G7irrT6PHw7JAQ8wOhXZiKf1bIVIFl /JxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=R8Qrs7V2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si9373697ejd.349.2021.06.07.08.45.16; Mon, 07 Jun 2021 08:45:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=R8Qrs7V2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231645AbhFGPnM (ORCPT + 99 others); Mon, 7 Jun 2021 11:43:12 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:45555 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231618AbhFGPm6 (ORCPT ); Mon, 7 Jun 2021 11:42:58 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1623080467; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=7g4hY9ofyMiDSk8e8CWN6mBuYJ98OcC2FMg4rtzktqw=; b=R8Qrs7V2c3wfENHByT7hltmC71cOCAguT6XnkIoxnnUVLnYmKFLlRq716Nsu7iMG/5xbQ7Ti zIw9/Xqt7e8R0PgRlPQl9B1VLt846469bEia85BQpOl40lakqJQPGse0SWpraJFBxoLS+k56 lQn2eN9JX9B5avw3P+Sy/Zbfu/k= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 60be3df581efe91cda0b9166 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 07 Jun 2021 15:40:37 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E50C7C43144; Mon, 7 Jun 2021 15:40:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id AE6C6C43460; Mon, 7 Jun 2021 15:40:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AE6C6C43460 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, swboyd@chromium.org Cc: ulf.hansson@linaro.org, rjw@rjwysocki.net, agross@kernel.org, ohad@wizery.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, rishabhb@codeaurora.org, sidgup@codeaurora.org, Sibi Sankar Subject: [PATCH v2 08/13] arm64: dts: qcom: sm8150: Use QMP binding to control load state Date: Mon, 7 Jun 2021 21:09:27 +0530 Message-Id: <1623080372-13521-9-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1623080372-13521-1-git-send-email-sibis@codeaurora.org> References: <1623080372-13521-1-git-send-email-sibis@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the Qualcomm Mailbox Protocol (QMP) binding to control the load state resources on SM8150 SoCs and drop deprecated power-domains exposed by AOSS QMP node. Signed-off-by: Sibi Sankar Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 142cf786c6cf..1a82ec935d32 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -6,7 +6,6 @@ #include #include -#include #include #include #include @@ -1110,13 +1109,14 @@ clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&aoss_qmp AOSS_QMP_LS_SLPI>, - <&rpmhpd 3>, + power-domains = <&rpmhpd 3>, <&rpmhpd 2>; - power-domain-names = "load_state", "lcx", "lmx"; + power-domain-names = "lcx", "lmx"; memory-region = <&slpi_mem>; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&slpi_smp2p_out 0>; qcom,smem-state-names = "stop"; @@ -1556,13 +1556,14 @@ clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&aoss_qmp AOSS_QMP_LS_MODEM>, - <&rpmhpd 7>, + power-domains = <&rpmhpd 7>, <&rpmhpd 0>; - power-domain-names = "load_state", "cx", "mss"; + power-domain-names = "cx", "mss"; memory-region = <&mpss_mem>; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&modem_smp2p_out 0>; qcom,smem-state-names = "stop"; @@ -2180,12 +2181,12 @@ clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&aoss_qmp AOSS_QMP_LS_CDSP>, - <&rpmhpd 7>; - power-domain-names = "load_state", "cx"; + power-domains = <&rpmhpd 7>; memory-region = <&cdsp_mem>; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&cdsp_smp2p_out 0>; qcom,smem-state-names = "stop"; @@ -2409,7 +2410,6 @@ mboxes = <&apss_shared 0>; #clock-cells = <0>; - #power-domain-cells = <1>; }; tsens0: thermal-sensor@c263000 { @@ -2556,12 +2556,12 @@ clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&aoss_qmp AOSS_QMP_LS_LPASS>, - <&rpmhpd 7>; - power-domain-names = "load_state", "cx"; + power-domains = <&rpmhpd 7>; memory-region = <&adsp_mem>; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&adsp_smp2p_out 0>; qcom,smem-state-names = "stop"; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project