Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp286152pxb; Fri, 16 Apr 2021 05:48:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz750W0FYWLAHq4iMa/61kEzjHX+BvelTmXwBkaj3M2D+9lr8puPmLWOEYoZyla7tqLJoPi X-Received: by 2002:a17:90a:a589:: with SMTP id b9mr5643808pjq.80.1618577284170; Fri, 16 Apr 2021 05:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618577284; cv=none; d=google.com; s=arc-20160816; b=z1Uc3m/aG7rQCKiX8U7sCVwPW771clA8ig3OOi9nkORxm744GfGhfiAcMu0LlJn2G4 RbTciIIWZoWsiFx/eKhKPFHzKV1UxDSp3lVA7hp6WzyqlsrymY19lurMZzvRC2NNCDx5 2lg4GiBdcUg/fFRPGvw6erVZ2H49zXpudJPKemSkxSHHOPEq36pZnd0g5hYLIkkNd6Ic Z5Yb6WVJ+0wqohMiVSmnbsiBjraeTWqlrIwynQv5ignPjbJ6D9358FFVzW8Mvtk4E7Fh MY4bsoba8TzzipedSO/PkQ6UQCRvGpYt9IzgBeJyJw9+NGRiu9o8wSfxy+jX/x+upiSx u7Ig== 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=ro3f17SjQTg3gq6g0MhXq6YvrRLwWe1x3XxfluG6A0A=; b=R9B78MmiByLUc4y0dxFnA+AuCyW0PR3C/5fHiIcD82vlIWks/j1rutd/tEhwPaHXW5 dzNxDQ58jK9CosGQ7N83GpTZTvtd+OJh9/4rSoaPAE+LiTu8oyU5QwoMqObY66X4k/Sv e3En9cHnhG7M23STuYzNSX6Co7VKmGgDFwxUZaoWUDZuWB0I7saaaumeazZUkUOhjar8 KKrDcU/QJFPZlOdpgbLLiTpdB8UgiKO/C6osaEZJWFP4Miz/tf55SKY/SNcV8gm5bOeN n/cmQp0TciZRrLzBGcDJbYhHFZ4YPYzz7tpT5KhMeb4IlFg8S1JfGAW85zgvOCEFN5OL k42Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=vUwFrjQ5; 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 m10si6296218pfc.259.2021.04.16.05.47.36; Fri, 16 Apr 2021 05:48:04 -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=vUwFrjQ5; 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 S243089AbhDPMF0 (ORCPT + 99 others); Fri, 16 Apr 2021 08:05:26 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:36499 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243073AbhDPMFI (ORCPT ); Fri, 16 Apr 2021 08:05:08 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1618574684; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=ro3f17SjQTg3gq6g0MhXq6YvrRLwWe1x3XxfluG6A0A=; b=vUwFrjQ5nOynvXuUbbrmnSpMgKAUV8Ge02lEGwGO8hMWPu6lCP6wO0ztRP5FaW+wm+BZLMdC q03fxe/37e0gl+ftW6hEFT/Hh8FD6taCngdFN4aQDh2DNo63B4HLFV9VMhJf19g8Mu1XVz4W 7VpGxC405o81fkuB8qtoHJ8rYDY= 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-n03.prod.us-west-2.postgun.com with SMTP id 60797d59e0e9c9a6b659a32a (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 16 Apr 2021 12:04:41 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8B33EC4346F; Fri, 16 Apr 2021 12:04:41 +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 CE068C43464; Fri, 16 Apr 2021 12:04:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CE068C43464 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, ulf.hansson@linaro.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, swboyd@chromium.org Cc: 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 06/12] arm64: dts: qcom: sc7180: Use QMP binding to control load state Date: Fri, 16 Apr 2021 17:33:52 +0530 Message-Id: <1618574638-5117-7-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618574638-5117-1-git-send-email-sibis@codeaurora.org> References: <1618574638-5117-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 SC7180 SoCs and drop deprecated power-domains exposed by AOSS QMP node. Signed-off-by: Sibi Sankar --- 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 a6da78d31fdd..6b55d74e2534 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 @@ -1998,14 +1997,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"; @@ -3220,7 +3220,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