Message ID | 20231129143815.7892-2-quic_jinlmao@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp382753vqn; Wed, 29 Nov 2023 06:38:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLfBam08ZtPLdESYJlh4m7CkstmSnzqr46f4oKC6e7U98myycGGoE2ucvplUz/B9nNgIAs X-Received: by 2002:a17:90b:4c8f:b0:280:c576:31af with SMTP id my15-20020a17090b4c8f00b00280c57631afmr16166992pjb.40.1701268727379; Wed, 29 Nov 2023 06:38:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701268727; cv=none; d=google.com; s=arc-20160816; b=vd48AQJMwlYkstrijhXueqw7huhTfw73kpzZZYV1uMCWODcg2CJSLlSJZqLaYKvXkT bZ9HGYgA4hRzO3BjthVWQJpmQAOr+avv5Wzn1ZeY6dbkJiwJcIK5B6Q1JBge1D02qvPK p6kLFbu/DHpV0VqAmHdwxSs4ujdN9OHzrXcuTL6QtNwFqwvQ7ppOhzsFyQ6j0+GN7qt9 lSjeo1l8DFn+rvmbm9ZDvuM3XYwe1YefwzgpkDsCtt6KVtOEzBia0gI8iosQjUZ+Jlyi 5Uve/oiRI5R2Lr9KAJRMFZBB+hpDcxevLtOWMyVatsB8760qnyiQXIGErZSkzeBLxekM MVhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IJa6BP+PPWfrA9UFjtQkb844a8ab89zGjh6tjhBBWn0=; fh=MygUNZBKnbpPGGcbCKyN4KGYKr5495f7YoOHGRsWT18=; b=KU1NBwTNcHyPp87av+0mCJtPH1QWYU8g2SG6qA6RxhmBGh3fXUWoxoQqhR8wHdvwWt 976rLZiCkmsPNipuU3pwqoTJkFJyGYbuPbWduhlzpYih5jrA9CwHz6GonwSQJP2mYafF c1TnYd598xp3CgW2YywJYWjeYWI1ODHsTW+Dbl2naH4l85IozNioGKvUALr7ZHJ/bLJU nR+DnH723lA5e/QflEWribbv6/H+1ZhEUJpSb8XhJlTJdHYFbSRBEuIB4kDDcVdgHsjB XZk3sJRTKuwOPZqy22R8P8w6/OXuildveo4IqOJ2odcszxniXv6sN/nkxYo+XULonvNk iCOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oTsxCfg6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id c12-20020a17090a8d0c00b00285f918f395si1354989pjo.190.2023.11.29.06.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 06:38:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oTsxCfg6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 64F828047567; Wed, 29 Nov 2023 06:38:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234384AbjK2Oi0 (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Wed, 29 Nov 2023 09:38:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234333AbjK2OiZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Nov 2023 09:38:25 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32C19D50; Wed, 29 Nov 2023 06:38:31 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AT9XluF015027; Wed, 29 Nov 2023 14:38:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=IJa6BP+PPWfrA9UFjtQkb844a8ab89zGjh6tjhBBWn0=; b=oTsxCfg6gpXbW1bIX16c9/6wNdpWWZXMzNIQs+52jOPPo1HtPr+/+hSeXuxKia/rWq6r ln+W2TrhwpjKB4gNOXGLC6DNPZm2ktE9UlumxNOdWZO+flymhzCM69y1Lw2vqAO+L3Zv FNFj1WIu0NMBIa3qNBV/qgDkXX64gN3WmLiykCPvDN+Vx4JUWZgklfDpaMM61G/hFp28 SapHUB07f49+Yidv2NK6CglYQRH3pd11Qnc84M/tOCGzbbUN45F1jh6TYrjckoZYL0F7 L4kS59NWkzFnC8+6KN306QTgL6n9IS0WSS5FAhcwqTPjX8M18kX4+ryO7YojtLHaTOeq GQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3up2s08p2g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 14:38:28 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3ATEcRpi015109 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 14:38:27 GMT Received: from hu-jinlmao-lv.qualcomm.com (10.49.16.6) 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.40; Wed, 29 Nov 2023 06:38:27 -0800 From: Mao Jinlong <quic_jinlmao@quicinc.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> CC: Mao Jinlong <quic_jinlmao@quicinc.com>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Tingwei Zhang <quic_tingweiz@quicinc.com>, Yuanfang Zhang <quic_yuanfang@quicinc.com>, "Tao Zhang" <quic_taozha@quicinc.com> Subject: [PATCH v1 1/3] arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property Date: Wed, 29 Nov 2023 06:38:09 -0800 Message-ID: <20231129143815.7892-2-quic_jinlmao@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231129143815.7892-1-quic_jinlmao@quicinc.com> References: <20231129143815.7892-1-quic_jinlmao@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) 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: ovKuXZvDF6WvJS5CxjaDXg1ALlYap_vn X-Proofpoint-GUID: ovKuXZvDF6WvJS5CxjaDXg1ALlYap_vn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-29_12,2023-11-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 adultscore=0 mlxlogscore=581 priorityscore=1501 bulkscore=0 mlxscore=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311290110 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> 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]); Wed, 29 Nov 2023 06:38:39 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783909557206492759 X-GMAIL-MSGID: 1783909557206492759 |
Series |
arm64: dts: qcom: Fix the warnings from coresight bindings
|
|
Commit Message
Mao Jinlong
Nov. 29, 2023, 2:38 p.m. UTC
The inport of funnel@3023000 connects to a source which is not supported
in current linux kernel. Remove the device tree node of funnel@3023000
to fix the warning. It will be added once the driver support to the
source is added to linux kernel.
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
---
arch/arm64/boot/dts/qcom/msm8996.dtsi | 26 --------------------------
1 file changed, 26 deletions(-)
Comments
On 29/11/2023 15:38, Mao Jinlong wrote: > The inport of funnel@3023000 connects to a source which is not supported > in current linux kernel. Remove the device tree node of funnel@3023000 > to fix the warning. It will be added once the driver support to the > source is added to linux kernel. Thanks for the changes, but that's not correct reason to remove DTS code. What kernel supports or not, should be irrelevant for the DTS. DTS for example is used in other projects - did you check if they have the same issues? Anyway, DTS describes the hardware, so how current kernel support defines what is and what is not in the hardware? Best regards, Krzysztof
On 11/30/2023 4:55 PM, Krzysztof Kozlowski wrote: > On 29/11/2023 15:38, Mao Jinlong wrote: >> The inport of funnel@3023000 connects to a source which is not supported >> in current linux kernel. Remove the device tree node of funnel@3023000 >> to fix the warning. It will be added once the driver support to the >> source is added to linux kernel. > > Thanks for the changes, but that's not correct reason to remove DTS > code. What kernel supports or not, should be irrelevant for the DTS. DTS > for example is used in other projects - did you check if they have the > same issues? Anyway, DTS describes the hardware, so how current kernel > support defines what is and what is not in the hardware? > > > Best regards, > Krzysztof Hi Krzysztof, The funnel dt node must have in-ports node. It is to describe the input connection of funnel HW. But there is no dt_binding doc to describe the DT node of the HW connected to funnel@3023000. So remove the funnel to solve the warning as of now. The funnel will be added back once driver and dt_binding are added for the HW. Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml Thanks Jinlong Mao >
On 30/11/2023 12:15, Jinlong Mao wrote: > > > On 11/30/2023 4:55 PM, Krzysztof Kozlowski wrote: >> On 29/11/2023 15:38, Mao Jinlong wrote: >>> The inport of funnel@3023000 connects to a source which is not supported >>> in current linux kernel. Remove the device tree node of funnel@3023000 >>> to fix the warning. It will be added once the driver support to the >>> source is added to linux kernel. >> >> Thanks for the changes, but that's not correct reason to remove DTS >> code. What kernel supports or not, should be irrelevant for the DTS. DTS >> for example is used in other projects - did you check if they have the >> same issues? Anyway, DTS describes the hardware, so how current kernel >> support defines what is and what is not in the hardware? >> >> >> Best regards, >> Krzysztof > > Hi Krzysztof, > > The funnel dt node must have in-ports node. It is to describe the input > connection of funnel HW. But there is no dt_binding doc to describe the > DT node of the HW connected to funnel@3023000. So remove the funnel to > solve the warning as of now. The funnel will be added back once driver > and dt_binding are added for the HW. > > Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml Why we cannot add now the binding for the connected hardware? It's not really related to the driver. Best regards, Krzysztof
On 30/11/2023 14:12, Jinlong Mao wrote: > > > On 11/30/2023 8:06 PM, Krzysztof Kozlowski wrote: >> On 30/11/2023 12:15, Jinlong Mao wrote: >>> >>> >>> On 11/30/2023 4:55 PM, Krzysztof Kozlowski wrote: >>>> On 29/11/2023 15:38, Mao Jinlong wrote: >>>>> The inport of funnel@3023000 connects to a source which is not supported >>>>> in current linux kernel. Remove the device tree node of funnel@3023000 >>>>> to fix the warning. It will be added once the driver support to the >>>>> source is added to linux kernel. >>>> >>>> Thanks for the changes, but that's not correct reason to remove DTS >>>> code. What kernel supports or not, should be irrelevant for the DTS. DTS >>>> for example is used in other projects - did you check if they have the >>>> same issues? Anyway, DTS describes the hardware, so how current kernel >>>> support defines what is and what is not in the hardware? >>>> >>>> >>>> Best regards, >>>> Krzysztof >>> >>> Hi Krzysztof, >>> >>> The funnel dt node must have in-ports node. It is to describe the input >>> connection of funnel HW. But there is no dt_binding doc to describe the >>> DT node of the HW connected to funnel@3023000. So remove the funnel to >>> solve the warning as of now. The funnel will be added back once driver >>> and dt_binding are added for the HW. >>> >>> Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml >> >> Why we cannot add now the binding for the connected hardware? It's not >> really related to the driver. >> >> Best regards, >> Krzysztof > > Do you mean yaml file can be added before the driver code is merged ? Yes, the binding. YAML is only the language. We don't write YAMLs, we write bindings. Best regards, Krzysztof
On 11/30/2023 9:35 PM, Krzysztof Kozlowski wrote: > On 30/11/2023 14:12, Jinlong Mao wrote: >> >> >> On 11/30/2023 8:06 PM, Krzysztof Kozlowski wrote: >>> On 30/11/2023 12:15, Jinlong Mao wrote: >>>> >>>> >>>> On 11/30/2023 4:55 PM, Krzysztof Kozlowski wrote: >>>>> On 29/11/2023 15:38, Mao Jinlong wrote: >>>>>> The inport of funnel@3023000 connects to a source which is not supported >>>>>> in current linux kernel. Remove the device tree node of funnel@3023000 >>>>>> to fix the warning. It will be added once the driver support to the >>>>>> source is added to linux kernel. >>>>> >>>>> Thanks for the changes, but that's not correct reason to remove DTS >>>>> code. What kernel supports or not, should be irrelevant for the DTS. DTS >>>>> for example is used in other projects - did you check if they have the >>>>> same issues? Anyway, DTS describes the hardware, so how current kernel >>>>> support defines what is and what is not in the hardware? >>>>> >>>>> >>>>> Best regards, >>>>> Krzysztof >>>> >>>> Hi Krzysztof, >>>> >>>> The funnel dt node must have in-ports node. It is to describe the input >>>> connection of funnel HW. But there is no dt_binding doc to describe the >>>> DT node of the HW connected to funnel@3023000. So remove the funnel to >>>> solve the warning as of now. The funnel will be added back once driver >>>> and dt_binding are added for the HW. >>>> >>>> Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml >>> >>> Why we cannot add now the binding for the connected hardware? It's not >>> really related to the driver. >>> >>> Best regards, >>> Krzysztof >> >> Do you mean yaml file can be added before the driver code is merged ? > > Yes, the binding. YAML is only the language. We don't write YAMLs, we > write bindings. > > Best regards, > Krzysztof ok, Thanks. I will prepare the binding file. Thanks Jinlong Mao >
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 6ba9da9e6a8b..e42c22b26adc 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2637,24 +2637,6 @@ funnel1_out: endpoint { }; }; - funnel@3023000 { - compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; - reg = <0x3023000 0x1000>; - - clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; - clock-names = "apb_pclk", "atclk"; - - - out-ports { - port { - funnel2_out: endpoint { - remote-endpoint = - <&merge_funnel_in2>; - }; - }; - }; - }; - funnel@3025000 { compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; reg = <0x3025000 0x1000>; @@ -2681,14 +2663,6 @@ merge_funnel_in1: endpoint { <&funnel1_out>; }; }; - - port@2 { - reg = <2>; - merge_funnel_in2: endpoint { - remote-endpoint = - <&funnel2_out>; - }; - }; }; out-ports {