Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp395477rdb; Fri, 17 Nov 2023 01:46:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqW+/O95Y9J4Y+h3r/iBs3QpMVyIgC3VNsjjJEvlYc6LRpgApTJp5T5ioTC+0hKmMNhzxF X-Received: by 2002:a05:6a20:a105:b0:187:6cc4:5aea with SMTP id q5-20020a056a20a10500b001876cc45aeamr7990409pzk.59.1700214361556; Fri, 17 Nov 2023 01:46:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700214361; cv=none; d=google.com; s=arc-20160816; b=uDdpI4kaczuOa/4lDU8o+S9C/+boVmZCQ28PfQH0U8G3E4rq2wOdZWB10kCIgfyUtl NM6krvUO//K3EOIzNcqGuGiad5KBNzksaa6igR10Anod452dLcmW4EFXKXzdiMQxvn1v H9XUn1WjgABGE/vFT3wag202997fuEfD9CQ1dmzJ29aOMnRSAPkn8N25xGr4PsCc1+ln 9OJ5R+KPo55DVNReCOfMYPGWcDPg9rdZm6o6/Fb1J64NvtIsDgpcaZaN4sunS6jpbQXE aom9lv5pep/NsnMDZ4PEcJqMWMTkioFssGG8OPLzYItAQ2/kkr4srd/tkmcNo0E69k3y TsTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=R60GE1grOZhSgQJmwUPI1cIFXHxyuZjPPb2sra1cTeo=; fh=PT9ymL3t9W41G9gLOb4IvUbU/r5q7+Erw3OIeA7tmZg=; b=Nqu7bQnjgEalLrUlhWc3qMuBK+GGGJTFSYBrE6Z0rjL8mDWPtOBQxXgHwLMYsdLuU4 IFy73IHX0BLj8xGWa8VDNbPA4dF7Hgbw8KGNAekTDdInKngmR7Ig3jWmAw2q0fSEq38i U3Y5lWz/9Jv0P9I2Hzugndj4oBluoX0zFxv3MVYhCCrZUz3G87eATuzFOY/opbuFteJ2 aK6lsr7kduJxq7eGqT3UrvcoEvnH1A4pwoDnG5fqiE70Eq7P/MIYEAzvi131cuztciF1 xnW/E/dmU5SfK2BIRcNWls64mdaIwN+pHxUd05OTYcMyejMddYb/8l9QylbpFtCgEVRG HsUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X2ClTBHS; 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=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id j8-20020a170903024800b001c0727658c3si1586221plh.259.2023.11.17.01.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 01:46:01 -0800 (PST) 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=@linaro.org header.s=google header.b=X2ClTBHS; 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=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1C986809D1CC; Fri, 17 Nov 2023 01:45:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345833AbjKQJpP (ORCPT + 99 others); Fri, 17 Nov 2023 04:45:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345935AbjKQJor (ORCPT ); Fri, 17 Nov 2023 04:44:47 -0500 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6651B26A5 for ; Fri, 17 Nov 2023 01:43:21 -0800 (PST) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-5a7c011e113so20209577b3.1 for ; Fri, 17 Nov 2023 01:43:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700214200; x=1700819000; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=R60GE1grOZhSgQJmwUPI1cIFXHxyuZjPPb2sra1cTeo=; b=X2ClTBHSMok0Lq09cu57RXe681AS9ESLULBSzKamYFH5FEL8Lc2d5NVkmEECvpSfzI lz9HjeBAQ8YycDEU8bYFiXeF+9SCPoI7iEX92QJJgObf+jMesVjWFtxz6tzSAFaLEXF/ R/Kep407fjEzcmCW31nI0Z7lSuuZ4Wh1AHmolReFL1LKwnT2ozVpeoyGCT6wJ3LvvjrM Wvp4RKxpHweC9Yh2l/a5ZDkOQxQY5Qmj8bwFL+JvbAtuCetO/vDm7+t4qEVf36GUlL3d KVTKGLt8TNIfd5jJq2Ur3SPNb3ud9v3dQc9zIcFQw3P67bjg5ZXgFUDkoLmN2iQDg8Hr Gecw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700214200; x=1700819000; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=R60GE1grOZhSgQJmwUPI1cIFXHxyuZjPPb2sra1cTeo=; b=MzlJTrLNztlc+YSjHebhOTtqGQgxqxMWqgf1uFTZKViWhWlJqmJ1+jQjHkWUAjD9El uslLIDUL+U0qa0vrrQLtpX+VcISE5UzcMco856GmsKQx+J1+TRsZ93gIjaf0SWjNyeUG uLauq0y7RZ7FyZaZRVbgAywNT8/5hJMGOEu9Zu4g1UAmnxCQQbwwE4cNUvbpsCU3gGEp J8Tr8Z3e83AnDiBorhKF3v4kHvvenBCMtlT10vFUKSfyehGemWpPNGnmjHhFxD+hcvE5 ZSbftvfaE8pgkg5qkTxEscZLt63TSEkIe/5kAa1IfCg5WblZfQ1paibDHzXmSgCufWOo RYLg== X-Gm-Message-State: AOJu0Ywn5CKHuik+R4Y8aoAWdbqkuga88Vk8ure42mpUnvYTiqnLMWBS +yYUzS0D8wRukxm3ezZSpMOhGnPiVW0IuqdwCUjAf65HVNyoY6+F X-Received: by 2002:a0d:f301:0:b0:59e:9a44:9db9 with SMTP id c1-20020a0df301000000b0059e9a449db9mr17702165ywf.26.1700214200458; Fri, 17 Nov 2023 01:43:20 -0800 (PST) MIME-Version: 1.0 References: <20231117080737.606687-1-quic_rohiagar@quicinc.com> <20231117080737.606687-2-quic_rohiagar@quicinc.com> In-Reply-To: <20231117080737.606687-2-quic_rohiagar@quicinc.com> From: Dmitry Baryshkov Date: Fri, 17 Nov 2023 11:43:09 +0200 Message-ID: Subject: Re: [PATCH v5 1/3] arm64: dts: qcom: Add interconnect nodes for SDX75 To: Rohit Agarwal Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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]); Fri, 17 Nov 2023 01:45:57 -0800 (PST) On Fri, 17 Nov 2023 at 10:08, 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 Reviewed-by: Dmitry Baryshkov > --- > 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 e180aa4023ec..b4723faf8655 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 > @@ -203,6 +205,19 @@ scm: scm { > }; > }; > > + 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>; > + }; > + > memory@80000000 { > device_type = "memory"; > reg = <0x0 0x80000000 0x0 0x0>; > @@ -434,6 +449,9 @@ qupv3_id_0: geniqup@9c0000 { > 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 @@ uart1: serial@984000 { > 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 @@ uart1: serial@984000 { > }; > }; > > + 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 @@ cpufreq_hw: cpufreq@17d91000 { > #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.25.1 > > -- With best wishes Dmitry