Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2709668rdb; Fri, 22 Sep 2023 06:32:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+ckaRQKESD7/B0sENEi58pckZQQys4HNHEJolZOibeaUWjDCKqCDQpc4jJuWEx1LOSMz5 X-Received: by 2002:a17:90a:2dcc:b0:26f:7555:76 with SMTP id q12-20020a17090a2dcc00b0026f75550076mr8082687pjm.11.1695389553580; Fri, 22 Sep 2023 06:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695389553; cv=none; d=google.com; s=arc-20160816; b=Z+PTCK8wq0fLtndYjdyLp36QJSrZOIse6qbKqio2HQfsFmMTpZxgv308UbjdDSbztE Sjsa/WhWkk5B5XlrP39x+cHbW1Lk6ypFTvpu1mRkgxZxKWGSHeRekMEwtWFRpkPzQ+MF ZWVJ2un7epoZ3J5OIiPLzwS6o5bXnmJcvgFpApbkNP308uYq7Y9LnH7SJRqoUsL30rpW fqxEc8LF9ZxAT0OcJ0fMhsghf6wtohXCpcHeWO1SMCd9Lo3yKrG4nCJuoWaUmwnyc4cC qfVBNQ5vHsvXgOw46KUzLp5eQtNdC+Xus/2Fz0REvKzxDQqDEANgkAJjl1SBBTETLr3G Z4xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=9w/IvZDIHWszFH1Ek0ypivr8vKkPAhorWbAZ9pveNCw=; fh=9y8HhHYrkJexZHXSvIVkTs5tT57zPYReUnOqH8Ax4KE=; b=nH62DsZpmgsmATfK+XuM8SwF8p/5M3yvOFb7sjieX2H+GQntcmb/AdjNeZsWBA2IAC lND8dH7x0jZ8P4DXXIZPLE8k/kix/ZaEWzxW51WyKn8R1pIIkQ5yzVlNZI8VoXxjgMfZ cOFRseoALZwHkYlHoWuV7hLvy+XIDKZUFXNp+bC2j5Cq53rIrjYh1xO/fcfMqglqLkX2 wk50iLctDVRzn2oH7H+S9ZWtxD1paHXNmEU7nxuUpgu3qiT8/GVwAUpBAgW8CpEo2/VX RyiRgsI3MCQxL55aPONo958NfRM/4ggZuI4bz0gRUcbXOBJqq5oku5ahKY9FHCPLL6Yk Y5GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Zl+gPP1b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id pi10-20020a17090b1e4a00b00262f937bf93si4377846pjb.77.2023.09.22.06.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 06:32:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Zl+gPP1b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 20AAB840B7D7; Thu, 21 Sep 2023 18:17:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229582AbjIVBRD (ORCPT + 99 others); Thu, 21 Sep 2023 21:17:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjIVBRC (ORCPT ); Thu, 21 Sep 2023 21:17:02 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F7C6CC; Thu, 21 Sep 2023 18:16:56 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38M1EWNL007144; Fri, 22 Sep 2023 01:16:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=9w/IvZDIHWszFH1Ek0ypivr8vKkPAhorWbAZ9pveNCw=; b=Zl+gPP1bJrmAyIy4/jZ/Jw4HYqHOylLpyDbdOObaRRInCisgH40Jhp+R62JtW7Vwj23n Ww0K2m/iXCHiaVzfHeNSK15IiMOBQWzh2IUElkjVp5xqu1wTsu7sVaiXsk6/YnBibziZ Y/SKwVarI991Jvo1iqiaCVq3qPzv82ILTWlJ7I6M9wFHsYHNy1TiaEvtesW364JXLAnM TC8PVU3LOGiHnOxfRHV46Axx1nWuKoiWqolFLbvMvxj+iuVygd9FEvhmKis6odMrHBFu lLWlSsHmiqfaeKAWtC1T50lvbMJlRwuj5kRxkI6quyFlVtx44z5EpY9crErEiAynglnx NQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8txpgnk8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 01:16:17 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38M1GFiF013645 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 01:16:16 GMT Received: from [10.239.132.204] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Thu, 21 Sep 2023 18:16:07 -0700 Message-ID: Date: Fri, 22 Sep 2023 09:16:05 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/8] arm64: dts: qcom: sm4450: Add apps_rsc and cmd_db node To: Bjorn Andersson CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , Ajit Pandey References: <20230915021509.25773-1-quic_tengfan@quicinc.com> <20230915021509.25773-7-quic_tengfan@quicinc.com> From: Tengfei Fan In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: pkGtoYlBqaxvEB2KOcQGLRxJAq0e2MYx X-Proofpoint-GUID: pkGtoYlBqaxvEB2KOcQGLRxJAq0e2MYx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-22_01,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 phishscore=0 impostorscore=0 malwarescore=0 adultscore=0 bulkscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309220010 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 21 Sep 2023 18:17:09 -0700 (PDT) 在 9/20/2023 11:49 AM, Bjorn Andersson 写道: > On Fri, Sep 15, 2023 at 10:15:06AM +0800, Tengfei Fan wrote: >> From: Ajit Pandey >> >> Add apps_rsc node and cmd_db memory region for sm4450. >> >> Signed-off-by: Ajit Pandey >> Signed-off-by: Tengfei Fan >> --- >> arch/arm64/boot/dts/qcom/sm4450.dtsi | 34 ++++++++++++++++++++++++++++ >> 1 file changed, 34 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi >> index c4e5b33f5169..0d1d39197d77 100644 >> --- a/arch/arm64/boot/dts/qcom/sm4450.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi >> @@ -5,6 +5,7 @@ >> >> #include >> #include >> +#include >> >> / { >> interrupt-parent = <&intc>; >> @@ -328,6 +329,18 @@ >> }; >> }; >> >> + reserved_memory: reserved-memory { >> + #address-cells = <2>; >> + #size-cells = <2>; >> + ranges; >> + >> + aop_cmd_db_mem: cmd-db@80860000 { >> + compatible = "qcom,cmd-db"; >> + reg = <0x0 0x80860000 0x0 0x20000>; >> + no-map; >> + }; >> + }; >> + >> soc: soc@0 { >> #address-cells = <2>; >> #size-cells = <2>; >> @@ -335,6 +348,27 @@ >> dma-ranges = <0 0 0 0 0x10 0>; >> compatible = "simple-bus"; >> >> + apps_rsc: rsc@17a00000 { >> + compatible = "qcom,rpmh-rsc"; >> + reg = <0 0x17a00000 0 0x10000>, > > As your later patch shows, and Krzysztof pointed out, the sort order is > wrong here (sort nodes under /soc by address). I will ajdust this sort order. > >> + <0 0x17a10000 0 0x10000>, >> + <0 0x17a20000 0 0x10000>; >> + reg-names = "drv-0", "drv-1", "drv-2"; >> + interrupts = , >> + , >> + ; >> + label = "apps_rsc"; >> + qcom,tcs-offset = <0xd00>; >> + qcom,drv-id = <2>; >> + qcom,tcs-config = , , >> + , ; > > Please confirm that you indeed want 0 CONTROL_TCSs. > > Thanks, > Bjorn Hi Bjorn, yes, I confirmed this from internal power team, CONTROL_TCS with 0 is ok. > >> + power-domains = <&CLUSTER_PD>; >> + >> + apps_bcm_voter: bcm-voter { >> + compatible = "qcom,bcm-voter"; >> + }; >> + }; >> + >> tcsr_mutex: hwlock@1f40000 { >> compatible = "qcom,tcsr-mutex"; >> reg = <0x0 0x01f40000 0x0 0x40000>; >> -- >> 2.17.1 >> -- Thx and BRs, Tengfei Fan