Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4242005pxv; Mon, 19 Jul 2021 21:43:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5toJeiT/R1wnEwefmyMhmOoe/oeMEU2wTEuntYun6hSAnbxAm23HU/f1FWy5blBhEPYHA X-Received: by 2002:a05:6e02:1a28:: with SMTP id g8mr19637219ile.128.1626756202935; Mon, 19 Jul 2021 21:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626756202; cv=none; d=google.com; s=arc-20160816; b=B5xu48cai5Pp6WTC1a1N62cRu7JnnfUe24bOfqayADw2Ua2LCSRDFSlKfxHs4S+gKM cVyVFk2YOqSrJ0YAIN5YoZ3CDKo/QOoY8jOMZybBj993v7s69y8Pv0zG2bLJtWD9B7KS 69H5qptGJX8PsaymMQVr9wiCRaVT/4Z64Cz2JMwMZp7+C2lOXBDMhNYnk5q6rLCnT3wf 46KKaiiEntPA0rCiB2kcWUy+qv0ipVSB91zHHJ9SM5iF/cZdC89t5tXD4T8nPlp60tLa qSVyb8e6xSDxFYrs4AUo2bne37LLg3Ln6ndbijy2yJn/ilk0xqsHCJWr7tPz0oYlAIZf KJ6Q== 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=uDOLRdnlPFXUPeHXMyghmFKs4MVCRbX8Ir6GeasgSFM=; b=Xnfys782wSHGsqXBWe2hao4tYSDB4QdTsmVLgBWwid7CLUKyaAvyWR0wpMrcoa3ed7 y7NzQjB4BHIDumtNmDBue6nE7tWI96uBOOLflm9PJsBOkg846uewDOThS/Yw2UoTZLBn SPgb9L/EPOLD1No4WX9ShBA56Bz/1CgMouXVo6f+qSPh1TSK9LIZyR//B3D0w0oZyd0m epHhbaIIsWzWD2OALuMFmPNKoVDT8PnfL8AA0Fvqq4nH2z2iBhhFRCsevi9J07Dx5V7g Zn83bBBnui4KdNDJhC30SPya/owwbiU5BXaIZvw+iKqj0Kb2q7c4d37s2VmulmCndA0i I1bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=m78HLEYz; 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 o14si27821905ilj.24.2021.07.19.21.43.11; Mon, 19 Jul 2021 21:43:22 -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=m78HLEYz; 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 S1348684AbhGTEBJ (ORCPT + 99 others); Tue, 20 Jul 2021 00:01:09 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:39002 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347554AbhGTD5c (ORCPT ); Mon, 19 Jul 2021 23:57:32 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1626755891; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=uDOLRdnlPFXUPeHXMyghmFKs4MVCRbX8Ir6GeasgSFM=; b=m78HLEYzRGsKTghdBJUygZ4+KTrl/9Vx3nyS3EiaLwkQDpuwdAZAAzqhxy+FzFLmthbQw8fl AF4mYAVDi1pTmv2bEc6p0jjLVz7/9L81sV+Et/uDoEzTQVoF+iAWb0U0odeY003Wz16iQzlw iTGZ5s0SSls9PECw1YsG4R2vTp8= 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-west-2.postgun.com with SMTP id 60f65330fcf9fe7b78d89f67 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 20 Jul 2021 04:38:08 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id BEE4BC4338A; Tue, 20 Jul 2021 04:38:08 +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 EA31EC43460; Tue, 20 Jul 2021 04:38:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EA31EC43460 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 07/13] arm64: dts: qcom: sdm845: Use QMP property to control load state Date: Tue, 20 Jul 2021 10:06:41 +0530 Message-Id: <1626755807-11865-8-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 SDM845 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/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 1796ae8372be..8c3601810fb2 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