Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp343024pxb; Fri, 16 Apr 2021 07:06:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdwgeKMNhLxv5oAS6DqLYPkuHFfOyyHdkoX8R3R3GHraNkQJehTiYnexqGYlVHOlSdsdEE X-Received: by 2002:a17:906:e4b:: with SMTP id q11mr8489291eji.540.1618582018139; Fri, 16 Apr 2021 07:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618582018; cv=none; d=google.com; s=arc-20160816; b=ZOVyDNjoQFu1iyMTo8/6s2pePzDGHp259T0uV+PVcTUhUVAWYECc2I6WyV3uwD8WKE cXOFFI+sH1xa9Dn1kVtDnN7/DOyR2D+a0iaGlMlBySxp40yVEIviy0f5n+h3R3oLnfwU +vII2kQx1wa3NLG/DOzsqOsQn4BHPjhIwjM3s2v99Paup+WJJljm6JEEB4fF5UEl9yem JPDBjaB14Gpasx7J5SnNV46dWm0LhOuiyip7dQcLoI+q7YQ3e/lVqZsvGC33mJFF6guk 7eUydRx2X5UkN+6hEr0JEAqkO88LaVkbBOJ+FPQxrmGQO5di1HSZSzUwTFep+yy1OJmm GfWw== 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=+TbEmw9doi6VBXbcVp6URpydHwD9D/wkjBwXw3yz9hU=; b=XpOGDjazdtSsrSTed2CZpR0VHuNkOuUt+VjOQKMUaY412crSqywfKNqcKvl5LrKY11 0nZR+LMThHvt/x/92Qom7N7PkIT434cCWiq4ZAQV3LkZ1aeS2UudrYBV9pW58ye3Dj/U NrV0Sn01du5L0mNq8ANH9traYByqM+xjNvpMHGMr7V6nkhgzgzyZJ0AEI9OkJWT5VDss XJITufcPiZZl7aQ1cZx+MrNHuRfbMtoSXmaj6JW1RxBVLV4VL1KAL6h68TFOAlghG53F UPLxFJD5lqDLD/hnPIED1xH3ugA5clWu3FnSyrd4zi3ur+0a3FpfONMrdodFARUjGp2F UMcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=LGEocMVP; 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 g23si4931974edv.289.2021.04.16.07.06.35; Fri, 16 Apr 2021 07:06:58 -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=LGEocMVP; 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 S243190AbhDPMFp (ORCPT + 99 others); Fri, 16 Apr 2021 08:05:45 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:10203 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243103AbhDPMFf (ORCPT ); Fri, 16 Apr 2021 08:05:35 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1618574710; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=+TbEmw9doi6VBXbcVp6URpydHwD9D/wkjBwXw3yz9hU=; b=LGEocMVP4E07yTaGv+T3DDLfhz+5QHXbkyHECLXMOIOuh/LN0BExchs/+RKpTzVp6u20JmbZ bX+gNNWXnrwsspZDbvw77WTdo99Z8baRvjhK8qitLMY9zHbx3eXRwKXDfY7RsBWwUb8NjCiV wruQV/idOV5/xj8qnNdwoT+ALME= 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-n02.prod.us-east-1.postgun.com with SMTP id 60797d642cbba88980f96ef8 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 16 Apr 2021 12:04:52 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id F3333C43469; Fri, 16 Apr 2021 12:04:51 +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 37DD2C43464; Fri, 16 Apr 2021 12:04:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 37DD2C43464 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 08/12] arm64: dts: qcom: sdm845: Use QMP binding to control load state Date: Fri, 16 Apr 2021 17:33:54 +0530 Message-Id: <1618574638-5117-9-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 SDM845 SoCs and drop deprecated power-domains exposed by AOSS QMP node. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0a86fe71a66d..22bc69240d2b 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2984,6 +2984,8 @@ clock-names = "iface", "bus", "mem", "gpll0_mss", "snoc_axi", "mnoc_axi", "prng", "xo"; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&modem_smp2p_out 0>; qcom,smem-state-names = "stop"; @@ -2993,11 +2995,10 @@ qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>; - power-domains = <&aoss_qmp 2>, - <&rpmhpd SDM845_CX>, + power-domains = <&rpmhpd SDM845_CX>, <&rpmhpd SDM845_MX>, <&rpmhpd SDM845_MSS>; - power-domain-names = "load_state", "cx", "mx", "mss"; + power-domain-names = "cx", "mx", "mss"; mba { memory-region = <&mba_region>; @@ -4582,7 +4583,6 @@ mboxes = <&apss_shared 0>; #clock-cells = <0>; - #power-domain-cells = <1>; cx_cdev: cx { #cooling-cells = <2>; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project