Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1987225rwd; Sun, 21 May 2023 10:16:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7YR4RmVglgA2nZTVJ7FEdI3j3WuA00fob8flFT+UZmRuiDRo3XMvWLIQah6XOCncbROc3p X-Received: by 2002:a17:90a:9f8b:b0:255:6ea7:7041 with SMTP id o11-20020a17090a9f8b00b002556ea77041mr687468pjp.41.1684689361679; Sun, 21 May 2023 10:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684689361; cv=none; d=google.com; s=arc-20160816; b=tQEkprunFwLSaktORj/PmEU7RI/MLz0xmpDNKENxG7OjqGErWBg9o8MXtjhNz0rBUP 7Dh+DttVrd6MbDIS09QcfrGfIfg4dNy8n5HqW0Fzsw1nQa1RmmCHgImO5SuzdANIDnwm 3zNVhHD2M2k/xeKvi9eTdMNu2iUF1kKkMyBd62qLJ3UBG1ujYDBjfoUTUuNYI3xqghpw IU7QPVOOZg03LlTK0BWkcqKJR0NIlH9J/4qiGVysfzvDo7I/FDDOtjLuiwTRMBqKSmyd F8RKy+1pr7Fa9aCLkvndK/Jy+vhWucQYrYPKzwz2vj+WP3ef7s2FiDizvLptI3vPV+43 u1RA== 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:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nGH2hp77dWcxa8evkc8PVmhv9uQwoQrDo7xQjL0YB7E=; b=KnzjNLg9Okw70NlGq8SJRpz02myCK6rrz4Q7/VfHEtI+zdfJkPFcZpLksuRoRqp5lv p/DsBvrIKWP+VjdiAVCFL2W3mWHIgjdsU7/r10XR3BD3gXlI3T+fUPLChmRfpkaUrOrD Ra3Jz1k9kEhqYdsLSOEnxfuqii32+7gQregSQRr6OeBAKe/cE/4Cr2U7GtsBbhDb3jPg vscqSqGVRNtrJ9+rJwL8xn2tN+Y0lhJKMKvUguqy0HrU2qcHOTK8vvjLnp9NC+x39iDA PsXFrf2q0QECZ++giBk03QXT82QLP4+lr74FzO2qRP0uhNMCfdXZpDuIeP7Ce7/0j1+F 3LRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hbTPsnkq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l20-20020a17090ac59400b002508889985fsi5387702pjt.95.2023.05.21.10.15.47; Sun, 21 May 2023 10:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hbTPsnkq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231180AbjEUQXz (ORCPT + 99 others); Sun, 21 May 2023 12:23:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbjEUQXy (ORCPT ); Sun, 21 May 2023 12:23:54 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3FC1D2; Sun, 21 May 2023 09:23:52 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34LGNm7D031344; Sun, 21 May 2023 16:23:48 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=nGH2hp77dWcxa8evkc8PVmhv9uQwoQrDo7xQjL0YB7E=; b=hbTPsnkqLwBfIsDJU+hFJUhT9fYFbvka3qpIOv4xaMTrefdBOGVc0Bh2xyGrZtTYkyF2 jaaX2yBltiHkEWukX5GGDEjd8MjayBaagzFpS2X6bAq8Lx3fWuEjWdFiWdTIGrTrwxV3 Rd4kL1ivP3+Nlx0ijOMqhxh9m+b8N4XLF7F7btBXVUbk7p6nrGNxN7CBKyfBBbEo+vS1 1+/9JyS3sK2NtFa6w3Gq+YBEZiRf3tFm59vuyUz4hdhAcAV2RinDu7TKRldrHj+ShsNN eq4R5pwNcCRrnC+KsBjnvPrTBVTPRWB4nNxF8A5+uJH5dBMuhaeRvBNqzFgB/m1oCNLI tw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qppa1a0tn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 21 May 2023 16:23:47 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34LGNkEO017364 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 21 May 2023 16:23:46 GMT Received: from [10.216.45.27] (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.986.42; Sun, 21 May 2023 09:23:38 -0700 Message-ID: Date: Sun, 21 May 2023 21:53:35 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH 11/11] arm64: dtsi: qcom: ipq9574: Add nodes to bring up multipd Content-Language: en-US To: Krzysztof Kozlowski , , , , , , , , , , , , , , , , , , CC: , , , , , , References: <1678164097-13247-1-git-send-email-quic_mmanikan@quicinc.com> <1678164097-13247-12-git-send-email-quic_mmanikan@quicinc.com> From: Manikanta Mylavarapu In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: 9YHmEm05e4fvQbxhCdpfyVp38d8Qzkai X-Proofpoint-ORIG-GUID: 9YHmEm05e4fvQbxhCdpfyVp38d8Qzkai X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-21_12,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 adultscore=0 suspectscore=0 priorityscore=1501 spamscore=0 mlxlogscore=603 phishscore=0 impostorscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305210145 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 3/7/2023 9:14 PM, Krzysztof Kozlowski wrote: > On 07/03/2023 05:41, Manikanta Mylavarapu wrote: >> Enable nodes required for multipd remoteproc bring up. >> >> Signed-off-by: Manikanta Mylavarapu >> --- >> arch/arm64/boot/dts/qcom/ipq9574.dtsi | 145 ++++++++++++++++++++++++++ >> 1 file changed, 145 insertions(+) >> > > >> soc: soc@0 { >> compatible = "simple-bus"; >> #address-cells = <1>; >> @@ -829,6 +858,122 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */ >> msi-parent = <&v2m0>; >> status = "disabled"; >> }; >> + >> + q6v5_wcss: remoteproc@cd00000 { > > Be sure you put it in correct place - ordered by unit address. > Sure, i will update it. >> + compatible = "qcom,ipq9574-q6-mpd"; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + ranges; > > Why do you need them? > No, it's not required. I will remove. >> + reg = <0x0cd00000 0x4040>; > > reg is always a second property. > Sure, i will make it as second property. >> + interrupts-extended = <&intc GIC_SPI 325 IRQ_TYPE_EDGE_RISING>, >> + <&wcss_smp2p_in 0 0>, >> + <&wcss_smp2p_in 1 0>, >> + <&wcss_smp2p_in 2 0>, >> + <&wcss_smp2p_in 3 0>; >> + interrupt-names = "wdog", >> + "fatal", >> + "ready", >> + "handover", >> + "stop-ack"; >> + >> + clocks = <&gcc GCC_ANOC_WCSS_AXI_M_CLK>, >> + <&gcc GCC_WCSS_AHB_S_CLK>, >> + <&gcc GCC_WCSS_ECAHB_CLK>, >> + <&gcc GCC_WCSS_ACMT_CLK>, >> + <&gcc GCC_WCSS_AXI_M_CLK>, >> + <&gcc GCC_Q6_AXIM_CLK>, >> + <&gcc GCC_Q6_AXIM2_CLK>, >> + <&gcc GCC_Q6_AHB_CLK>, >> + <&gcc GCC_Q6_AHB_S_CLK>, >> + <&gcc GCC_Q6SS_BOOT_CLK>, >> + <&gcc GCC_WCSS_DBG_IFC_APB_BDG_CLK>, >> + <&gcc GCC_WCSS_DBG_IFC_ATB_BDG_CLK>, >> + <&gcc GCC_WCSS_DBG_IFC_DAPBUS_BDG_CLK>, >> + <&gcc GCC_WCSS_DBG_IFC_NTS_BDG_CLK>, >> + <&gcc GCC_WCSS_DBG_IFC_APB_CLK>, >> + <&gcc GCC_WCSS_DBG_IFC_ATB_CLK>, >> + <&gcc GCC_WCSS_DBG_IFC_DAPBUS_CLK>, >> + <&gcc GCC_WCSS_DBG_IFC_NTS_CLK>, >> + <&gcc GCC_Q6_TSCTR_1TO2_CLK>, >> + <&gcc GCC_Q6SS_ATBM_CLK>, >> + <&gcc GCC_Q6SS_PCLKDBG_CLK>, >> + <&gcc GCC_Q6SS_TRIG_CLK>, >> + <&gcc GCC_MEM_NOC_Q6_AXI_CLK>, >> + <&gcc GCC_WCSS_Q6_TBU_CLK>, >> + <&gcc GCC_SYS_NOC_WCSS_AHB_CLK>; >> + >> + clock-names = "anoc_wcss_axi_m", >> + "wcss_ahb_s", >> + "wcss_ecahb", >> + "wcss_acmt", >> + "wcss_axi_m", >> + "q6_axim", >> + "q6_axim2", >> + "q6_ahb", >> + "q6_ahb_s", >> + "q6ss_boot", >> + "dbg-apb-bdg", >> + "dbg-atb-bdg", >> + "dbg-dapbus-bdg", >> + "dbg-nts-bdg", >> + "dbg-apb", >> + "dbg-atb", >> + "dbg-dapbus", >> + "dbg-nts", >> + "q6_tsctr_1to2_clk", >> + "q6ss_atbm_clk", >> + "q6ss_pclkdbg_clk", >> + "q6ss_trig_clk", >> + "mem_noc_q6_axi", >> + "wcss_q6_tbu", >> + "sys_noc_wcss_ahb"; >> + >> + assigned-clocks = <&gcc GCC_ANOC_WCSS_AXI_M_CLK>, >> + <&gcc GCC_WCSS_AHB_S_CLK>, >> + <&gcc GCC_WCSS_ECAHB_CLK>, >> + <&gcc GCC_WCSS_ACMT_CLK>, >> + <&gcc GCC_WCSS_AXI_M_CLK>, >> + <&gcc GCC_Q6_AXIM_CLK>, >> + <&gcc GCC_Q6_AXIM2_CLK>, >> + <&gcc GCC_Q6_AHB_CLK>, >> + <&gcc GCC_Q6_AHB_S_CLK>, >> + <&gcc GCC_Q6SS_BOOT_CLK>, >> + <&gcc GCC_MEM_NOC_Q6_AXI_CLK>, >> + <&gcc GCC_WCSS_Q6_TBU_CLK>, >> + <&gcc GCC_SYS_NOC_WCSS_AHB_CLK>; >> + >> + assigned-clock-rates = <266666667>, >> + <133333333>, >> + <133333333>, >> + <133333333>, >> + <266666667>, >> + <533000000>, >> + <342857143>, >> + <133333333>, >> + <133333333>, >> + <342857143>, >> + <533000000>, >> + <533000000>, >> + <133333333>; >> + >> + qcom,smem-states = <&wcss_smp2p_out 0>, >> + <&wcss_smp2p_out 1>; >> + qcom,smem-state-names = "shutdown", >> + "stop"; >> + >> + memory-region = <&q6_region>; >> + >> + glink-edge { >> + interrupts = ; >> + label = "rtr"; >> + qcom,remote-pid = <1>; >> + mboxes = <&apcs_glb 8>; >> + }; >> + >> + q6_wcss_pd1: remoteproc_pd1 { >> + compatible = "qcom,ipq9574-wcss-ahb-mpd"; > > Why do you need empty node? Usually there is no benefit and these should > be just part of parent. > Yeah, it should not be empty node. I will correct it. Thanks & Regards, Manikanta. >> + }; >> + }; >> }; >> >> rpm-glink { > > Best regards, > Krzysztof >