Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1871182rdb; Tue, 3 Oct 2023 03:53:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1MbpLRtqRJeSG6c8h4kCU8Qh5QBUCMMUw/pNmimYJmQkLN4xkv9GLW+LKmMwHUpXP5u6n X-Received: by 2002:a17:90b:1d12:b0:279:952f:ad9e with SMTP id on18-20020a17090b1d1200b00279952fad9emr1336733pjb.48.1696330386028; Tue, 03 Oct 2023 03:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696330386; cv=none; d=google.com; s=arc-20160816; b=ScEz8GpG14IRoVSt7ykMBJC9A+fj9wTQxHzvAWDBhQDLtOmz2NDAZI/AIQBjBlf6IK TRRinLpEtTYKPHcL6wDMcjt2IexycDe8Xgm9Be1AGOBd/rt30c7nQQASIq1PFxypad74 l7upBJSkXbqeecOnrTENOuiwYlYfWgje48HFuPabTSRIXGXZ0mudfLKy1YbpBCLTwGlm y7Oqvvqxx+0oB7TCz3bO4chS+kl7tW7bP3u5kXkKPZjOzH9OlwSj7otLelU9fMpYubIy eYYYtwkDQRJTAaVw/sHrZDh+ISKYlROGwrPE62Nf+/ARNPAS2tp4I1w7rSW0vK4bey1H hxJg== 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=InmKVGM1KLLAk6jQd8wSrFaEvqZwF/oNWUzAeh/qEqI=; fh=qGJg2abTeWNEotcBTSlMVa8sntYweZ9cL2Sa6M/unEA=; b=VpElwVVz/fq5fa6dLCya36KIPMCHjRb5xsjNy8k2jhB49yr6xB8jfXbz2KaIMm0lTi CRqY206lb87XtcFnv5y7UTq0L3R+nkIotv/F5uyvtHJDOLheMVG6W2uo2/qB69sVr4FX LbtUbCcRT4DDAyEygSzT0NlWgC0wNG4vhr0lOzLS8tI9sQQsuCGAD7TfKusuwagmAK++ 2sl5/l26sFKvHJnlMPUZdX02gUHg14dUMhIMRegslAzkJOUEjUNS1UjY8k8LNsCvGuNa QvGg8LB/Ikt4fM+xQ5GM46/Rc5V1SIJ/UyfRekM1QgeC5poU6tEtXjKJXcr33zWOG+ra +4XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DDN9zv9c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id mv19-20020a17090b199300b002791e648ce3si1138700pjb.174.2023.10.03.03.53.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 03:53:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DDN9zv9c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id B2B0B804C214; Tue, 3 Oct 2023 03:53:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231928AbjJCKw6 (ORCPT + 99 others); Tue, 3 Oct 2023 06:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230424AbjJCKw5 (ORCPT ); Tue, 3 Oct 2023 06:52:57 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CDC4B0; Tue, 3 Oct 2023 03:52:53 -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 393AjLNV031991; Tue, 3 Oct 2023 10:52:46 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=InmKVGM1KLLAk6jQd8wSrFaEvqZwF/oNWUzAeh/qEqI=; b=DDN9zv9cQeiWaxQQ0w6UtECF0C4Shy+aV6lPh86LWFbhS9FFAZftEGjJoCAsB++Y1QeJ gJZ1ZNbSjLzwriu+Ta4xxeB0NFJio9fxeQVGqLxyHzt2KKKAYbGTInH4cLp4vqop/OQt TNxI4gCQHyeXDFm5UgIDGA40BgpwZoknzh8x6bJt1+gQcqCFjC82AV5LH4YahCzeROn8 v7axzXYahabrqorlwGoPoG/gifXRFqXEdJamo1M+sdNwHOG3pvfBUwMz7y7e6WdUVhlK iPOQn7wRR8rKOnXjDXzyp6DDz8HbXnB0GuGe3NwFSmwQGNtvqA7mquH5/PW6Up4r8uZw Tw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tgaw5gsdf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Oct 2023 10:52:46 +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 393Aqjma017666 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 3 Oct 2023 10:52:45 GMT Received: from [10.214.66.58] (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; Tue, 3 Oct 2023 03:52:41 -0700 Message-ID: <8218d393-7840-49b9-b6d6-055a6ed372de@quicinc.com> Date: Tue, 3 Oct 2023 16:22:38 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/3] arm64: dts: qcom: Add interconnect nodes for SDX75 Content-Language: en-US To: Dmitry Baryshkov CC: , , , , , , , , References: <1696327472-21776-1-git-send-email-quic_rohiagar@quicinc.com> <1696327472-21776-2-git-send-email-quic_rohiagar@quicinc.com> From: Rohit Agarwal 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-ORIG-GUID: 6tnEZ5wUJn3u5FpiGNuWsO0RV0tsTAVV X-Proofpoint-GUID: 6tnEZ5wUJn3u5FpiGNuWsO0RV0tsTAVV 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-10-03_07,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 phishscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=919 adultscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310030076 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Tue, 03 Oct 2023 03:53:03 -0700 (PDT) On 10/3/2023 3:35 PM, Dmitry Baryshkov wrote: > On Tue, 3 Oct 2023 at 13:04, Rohit Agarwal wrote: >> Add interconnect nodes to support interconnects on SDX75. >> Also parallely add the interconnect property for UART required >> so that the bootup to shell does not break with interconnects >> in place. >> >> Signed-off-by: Rohit Agarwal >> --- >> arch/arm64/boot/dts/qcom/sdx75.dtsi | 52 +++++++++++++++++++++++++++++++++++++ >> 1 file changed, 52 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi >> index e180aa4..ac0b785 100644 >> --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi >> @@ -8,6 +8,8 @@ >> >> #include >> #include >> +#include >> +#include >> #include >> #include >> #include >> @@ -197,6 +199,19 @@ >> }; >> }; >> >> + clk_virt: interconnect-0 { >> + compatible = "qcom,sdx75-clk-virt"; >> + #interconnect-cells = <2>; >> + qcom,bcm-voters = <&apps_bcm_voter>; >> + clocks = <&rpmhcc RPMH_QPIC_CLK>; >> + }; >> + >> + mc_virt: interconnect-1 { >> + compatible = "qcom,sdx75-mc-virt"; >> + #interconnect-cells = <2>; >> + qcom,bcm-voters = <&apps_bcm_voter>; >> + }; > Interconnect comes after firmware, 'i' > 'f'. Will update this. Thanks, Rohit. > >> + >> firmware { >> scm: scm { >> compatible = "qcom,scm-sdx75", "qcom,scm"; >> @@ -434,6 +449,9 @@ >> clock-names = "m-ahb", >> "s-ahb"; >> iommus = <&apps_smmu 0xe3 0x0>; >> + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS >> + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>; >> + interconnect-names = "qup-core"; >> #address-cells = <2>; >> #size-cells = <2>; >> ranges; >> @@ -444,6 +462,12 @@ >> reg = <0x0 0x00984000 0x0 0x4000>; >> clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; >> clock-names = "se"; >> + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS >> + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, >> + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS >> + &system_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; >> + interconnect-names = "qup-core", >> + "qup-config"; >> interrupts = ; >> pinctrl-0 = <&qupv3_se1_2uart_active>; >> pinctrl-1 = <&qupv3_se1_2uart_sleep>; >> @@ -453,6 +477,20 @@ >> }; >> }; >> >> + system_noc: interconnect@1640000 { >> + compatible = "qcom,sdx75-system-noc"; >> + reg = <0x0 0x01640000 0x0 0x4b400>; >> + #interconnect-cells = <2>; >> + qcom,bcm-voters = <&apps_bcm_voter>; >> + }; >> + >> + pcie_anoc: interconnect@16c0000 { >> + compatible = "qcom,sdx75-pcie-anoc"; >> + reg = <0x0 0x016c0000 0x0 0x14200>; >> + #interconnect-cells = <2>; >> + qcom,bcm-voters = <&apps_bcm_voter>; >> + }; >> + >> tcsr_mutex: hwlock@1f40000 { >> compatible = "qcom,tcsr-mutex"; >> reg = <0x0 0x01f40000 0x0 0x40000>; >> @@ -733,6 +771,20 @@ >> #freq-domain-cells = <1>; >> #clock-cells = <1>; >> }; >> + >> + dc_noc: interconnect@190e0000 { >> + compatible = "qcom,sdx75-dc-noc"; >> + reg = <0x0 0x190e0000 0x0 0x8200>; >> + #interconnect-cells = <2>; >> + qcom,bcm-voters = <&apps_bcm_voter>; >> + }; >> + >> + gem_noc: interconnect@19100000 { >> + compatible = "qcom,sdx75-gem-noc"; >> + reg = <0x0 0x19100000 0x0 0x34080>; >> + #interconnect-cells = <2>; >> + qcom,bcm-voters = <&apps_bcm_voter>; >> + }; >> }; >> >> timer { >> -- >> 2.7.4 >> >