Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp443744rdg; Thu, 12 Oct 2023 09:58:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkAvJfhzISch1vi0xGFVGx3UwnrrdXQ/uHVbDV09y6eVtakoZF1eBIsRHj6T3BEswKW3k9 X-Received: by 2002:a17:903:41c1:b0:1c3:c687:478c with SMTP id u1-20020a17090341c100b001c3c687478cmr32644027ple.8.1697129894878; Thu, 12 Oct 2023 09:58:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697129894; cv=none; d=google.com; s=arc-20160816; b=N8B+U5wWXNlA/gFqWPAjBvaD83VS7vB/TuBrvh2oJKcdnbZCfCO4PIGbazt4PnAWpA v+QIUg6J6M2a4i2QRkftoY0CS0OsUKZTrm2teLj8Fu9ZvYVbxiyR/du19z00/ibm4sYg rjJpj2bY2iHlsnUE3NRUmv+nHzceI7x82vLSQK3iqnn5Z9fRLlxrVt9mBBXqr9wEe6Vc STkFzEKaAMh1ciLCuwrTaivCxzHp7e3w/L0btuqTu4QVM1zcZhRdUH3ZcAM6iUYWaBV5 lYRPJUfaC8m2CZZuDz/HpOfqRzp/QimbOEdc1qFrIy3CHf3WP53+WKYQMgB2TRLfxnOz D5+g== 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=tFLxmj09QJweq//cJjff42gF1cQIyOlmZvPRzNFpAgE=; fh=OCQ93D9kC97+GX/nky2H7R2C8u3DO9IFbbMxHfj6GQM=; b=L1Kh/AF97gdESiJPn6RWIFY492GWhQ9AfYH7rLCnwNS1wEjkdpfhGwM8IYpjfdcs0J aMTVj7z0gWK4x6k58p22FmbV4Hp5u0o0fHtzb663v6cjDkBDqJDaIdG1Tz+i+VrFRYY/ bdwKTSuzgD2aToVIHxWo20KJHxtGAbKlgIiqlTVkj5cnO7jInFGEFFXV8VoOs0dch95/ a9ZxvGqSN7mGcEYA/z5iFKMefKYHX2Vq/BEJEjRRjYxmOjRg3bBrVNgPFYhSUI80jMu+ z8idqtj51Aw/H5Q5Qo1cjzwbxpXPgrGXCTp/tFQjNBR0DKabBeO1vZ53APVBaWSRJMPo v/rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QyutPYST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l8-20020a170903244800b001bf1a9dbcc9si2564885pls.549.2023.10.12.09.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 09:58:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QyutPYST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id D67F380FE2AE; Thu, 12 Oct 2023 09:58:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379509AbjJLQ55 (ORCPT + 99 others); Thu, 12 Oct 2023 12:57:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344025AbjJLQ5z (ORCPT ); Thu, 12 Oct 2023 12:57:55 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BC46B7; Thu, 12 Oct 2023 09:57:54 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39CDLifc010756; Thu, 12 Oct 2023 16:57: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=tFLxmj09QJweq//cJjff42gF1cQIyOlmZvPRzNFpAgE=; b=QyutPYSTY40Uo8WywxpJmE4wMv1CwNmnxeX+uqA+JXlBkJjKgf53UWMo4rxSbatkq67/ PF6B9i8Fq2msYf21sBZV4BFW8ePytgOvsMKkMi68DEm7GShhcQvXBfYRLNCqdZxEwO+/ NemiTVXUq/BO2xTFC/D0zDGoFpuZXJq+4vlBGMG96zWEuS0Ce52LuofJcIeMjvVhuXOl DSPvn088YbYhaZHv67LOvN7MK4DCC6FWmydYJ/WKxY+dWtrw/s9WBiGUT/kq74Nj8lTG iPH+3Kx7PhzROYEvfogWxSkY2SIsZBYbVrqi6A0ZAg280SuhPVBaezjKX49+ti8Veipf pA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tp87v9qcq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 16:57:47 +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 39CGvlQ6026494 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 16:57:47 GMT Received: from [10.216.13.237] (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, 12 Oct 2023 09:57:42 -0700 Message-ID: <6da8dc86-0b9a-488f-9046-9d9d269beeaf@quicinc.com> Date: Thu, 12 Oct 2023 22:27:39 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 1/3] arm64: dts: qcom: Add interconnect nodes for SDX75 Content-Language: en-US To: Konrad Dybcio , , , , , , CC: , , References: <1696406908-9688-1-git-send-email-quic_rohiagar@quicinc.com> <1696406908-9688-2-git-send-email-quic_rohiagar@quicinc.com> <3a042a26-81b4-4ab3-ba03-a38ae876634b@linaro.org> From: Rohit Agarwal In-Reply-To: <3a042a26-81b4-4ab3-ba03-a38ae876634b@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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: KRTXYAmRRvK2hXu9K0uZxZTC_73vYGrm X-Proofpoint-GUID: KRTXYAmRRvK2hXu9K0uZxZTC_73vYGrm 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-12_05,2023-10-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 adultscore=0 phishscore=0 clxscore=1011 suspectscore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310120141 X-Spam-Status: No, score=-0.8 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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 12 Oct 2023 09:58:12 -0700 (PDT) On 10/12/2023 10:18 PM, Konrad Dybcio wrote: > > > On 10/4/23 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 >> --- >>   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..b4723fa 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 @@ >>           }; >>       }; >>   +    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 @@ >>               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"; > No qup-config? > > My brain compiler says this would cause a dt checker warning, at least > on next-20231012. If I check the tip, then there is only one interconnect entry. https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/soc/qcom/qcom%2Cgeni-se.yaml#L50 For the debug uart, the qup-config is added. I did check the dtbs_check before sending these patches. Please let me know if I am missing anything. Thanks, Rohit. > > Konrad