Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4242336pxv; Mon, 19 Jul 2021 21:44:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8A0QfgF7mlC/FRc/3R6a8QaNtij2sZXA4TtwJj/7cIQoiHIrpKBuCOSLcfrYvt+y6HxCm X-Received: by 2002:a17:907:9604:: with SMTP id gb4mr30443253ejc.142.1626756246412; Mon, 19 Jul 2021 21:44:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626756246; cv=none; d=google.com; s=arc-20160816; b=XmFHIUzKvoP1LfMWxBXYUGYFdCDFd4V+zvD1CRS8KUkZ2Vxxk8ORaNMz2xfFIZv0td ksiZcN6b8rrN54KV8yCOWRukCed71PyizmXs0d+uqYN+JXKIuFe6gtAZq0/yEBFemlY5 fNte5b1dfUuYFu9IDVAkgHC0nQ4YlUTlRtdfINRelaifqVR3mTmET4e1XeRayLT22cCZ w15fbjWYqdW4tXX0Ob7yoAQwJT87+Z72Rh95uVANo+vHiZ2DnMUGhFrYZ6Ga4TkTENqY O7YlMOWEf64na1GUiXb3wpmWrpgGbL2MZ1hK4Dg6AyK5wUAW3GOmlXRRw3f1B4EsD+Yz pQDw== 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=9l8rDnQAuFY/PlEpwAtmgaKTmT2fDxMqMeabGLRTm0Y=; b=H7dxHPKfZvcRJCW+eSw7e482zVdcZUaxEg5bmtuByKMiG/OEgB/wjE5bGb4kR7gKhL 3FmuHMZZZMHE1PHfPqRuKjROjZqLrqEYdw/JygHdOlX3vmrldTSzAWdY46QWMI8XNq7q i/PD7xLlk3P3TKeLowD62UYYJaSSmtnDRJqBrebfmwkr510/VuoCNN92xRqAjnHMzw2a gwOncUi7Po5CtbB63FZu2P3ASWJF2Bs9ao89uPc0v6MA5y6LOWZv6JxTR5dvuHHKYvbR MHVvTv6wJoF7hXwiw4HNEu3Cl1i8ysaa9NnkJJgokY8EnpDxhfYeZithTGOkrvCxWNv9 cVGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=BvSVnv1Z; 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 k5si24332253edv.339.2021.07.19.21.43.43; Mon, 19 Jul 2021 21:44:06 -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=BvSVnv1Z; 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 S1348819AbhGTEBR (ORCPT + 99 others); Tue, 20 Jul 2021 00:01:17 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:31619 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347401AbhGTD5X (ORCPT ); Mon, 19 Jul 2021 23:57:23 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1626755882; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=9l8rDnQAuFY/PlEpwAtmgaKTmT2fDxMqMeabGLRTm0Y=; b=BvSVnv1Z6CQ8bKUGbsXHpnM1mYLWJIFV81QzLdAI9mas+jpNBrdajOsIf1tDYJdN4XkZcJV+ HJFzilIkEatZhfZ67Xyr9svUdX/rRRWXmae6p2+c7Fqdm5YjkDiyvBwuUnctWdon1I+TFvFf W5drzUy/Zc2HJ2np4udiMs25SJw= X-Mailgun-Sending-Ip: 69.72.43.7 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-n03.prod.us-east-1.postgun.com with SMTP id 60f65323c923fb7e09ecd176 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 20 Jul 2021 04:37:55 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 36680C43145; Tue, 20 Jul 2021 04:37:55 +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, URIBL_BLOCKED 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 197DBC43460; Tue, 20 Jul 2021 04:37:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 197DBC43460 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: mka@chromium.org, swboyd@chromium.org, bjorn.andersson@linaro.org, robh+dt@kernel.org Cc: ulf.hansson@linaro.org, rjw@rjwysocki.net, agross@kernel.org, ohad@wizery.com, mathieu.poirier@linaro.org, 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 v4 05/13] arm64: dts: qcom: sc7180: Use QMP property to control load state Date: Tue, 20 Jul 2021 10:06:39 +0530 Message-Id: <1626755807-11865-6-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1626755807-11865-1-git-send-email-sibis@codeaurora.org> References: <1626755807-11865-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) property to control the load state resources on SC7180 SoCs and drop deprecated power-domains exposed by AOSS QMP node. Signed-off-by: Sibi Sankar Reviewed-by: Stephen Boyd Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index a5d58eb92896..d3e5b67afcb4 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include @@ -1893,14 +1892,15 @@ clock-names = "iface", "bus", "nav", "snoc_axi", "mnoc_axi", "xo"; - power-domains = <&aoss_qmp AOSS_QMP_LS_MODEM>, - <&rpmhpd SC7180_CX>, + power-domains = <&rpmhpd SC7180_CX>, <&rpmhpd SC7180_MX>, <&rpmhpd SC7180_MSS>; - power-domain-names = "load_state", "cx", "mx", "mss"; + power-domain-names = "cx", "mx", "mss"; memory-region = <&mpss_mem>; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&modem_smp2p_out 0>; qcom,smem-state-names = "stop"; @@ -3116,7 +3116,6 @@ mboxes = <&apss_shared 0>; #clock-cells = <0>; - #power-domain-cells = <1>; }; spmi_bus: spmi@c440000 { -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project