From patchwork Thu Mar 21 08:32:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 13598500 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 840D9C54E58 for ; Thu, 21 Mar 2024 08:33:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8kRZ1ESsgnxq38JoGDH6tlanl3UH5Cr/r1tl3OfK+xY=; b=OiZIOH4A7vT3gw yXHlecTwg5fnSYkeM073eIosBGyKIPtkKvaQBT86qQfFA9t8+TGvN9PAHrhGbP38YBIja12tSR2VM me55LdYITYXbujXNmwo/gX0MfA9Xl+SOe7ZHdxFJgGoLf01d81oU7YhF4sr4Ifhf0tDidmzoKHRWX gwvXu7v6jXqcMU0X14rKS0zg2ryhmRXow23tibfqWt5dnVb3fSsfoVXHJVilidXtWSREbYw1z0bUN jByIaj0hGBX25P2VxdQW8Rw7N0MQR7p9VyZCn9WY1YJn6oBRtq9Lk+heSqXa7N0h1Pms91zuIpNNg zD4LnF7Qi9EKTr4CWzlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnDqy-00000002KOT-1jFS; Thu, 21 Mar 2024 08:32:48 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnDqv-00000002KNF-14vK for linux-arm-kernel@lists.infradead.org; Thu, 21 Mar 2024 08:32:46 +0000 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42L7bZJP012693; Thu, 21 Mar 2024 08:32:36 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-type; s=qcppdkim1; bh=HFI8HIac9if1Y4WZiEOV ol/hOSTOPl6waJF+ZSoXpCY=; b=JUTTOBk/wWMIfAMoGuuCnw6qVml9NnCiREim RAY6dbJ9V7vbPSm8k12mLJqjcSCGMflt/3HrZ0LFEXVP/75ZnVPKG1/tczlz5f+b 9e29KpAUkkl33J2rRLQmxkUO70bGo/KR8uzyMkbdsuNEq7D0mWmLYnUZHAl1mhPo rXSGOFWNgFsdAR+KxuplfhQ0OEhCx9208qkkKdUvfBti0TxBHVV9DfaTFXb6+e61 NLrgHTu/ufCt4a7skpp7Kyb0l7Eh0kctMjynMrFChARCLQfuu+5wdDvZ8lqzjRV6 ehXwaA0CaubIKq+x40rNaxdORS2W6nyXUEyo6UAy5sik4Uppvg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x0c67gkva-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Mar 2024 08:32:36 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42L8WZDG002282 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Mar 2024 08:32:35 GMT Received: from taozha-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 21 Mar 2024 01:32:30 -0700 From: Tao Zhang To: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski CC: Tao Zhang , Jinlong Mao , Leo Yan , Greg Kroah-Hartman , , , , , Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Song Chai , , Subject: [PATCH 1/4] dt-bindings: arm: qcom,coresight-funnel: Add label for multi-ouput Date: Thu, 21 Mar 2024 16:32:04 +0800 Message-ID: <1711009927-17873-2-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1711009927-17873-1-git-send-email-quic_taozha@quicinc.com> References: <1711009927-17873-1-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: G6BvcXkXF3yE2H_Vx-vgo_haQ3_zjU8W X-Proofpoint-ORIG-GUID: G6BvcXkXF3yE2H_Vx-vgo_haQ3_zjU8W X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-21_05,2024-03-18_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 mlxlogscore=999 lowpriorityscore=0 clxscore=1015 priorityscore=1501 phishscore=0 impostorscore=0 spamscore=0 suspectscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403140001 definitions=main-2403210057 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240321_013245_326936_EE0276DF X-CRM114-Status: GOOD ( 14.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add new property "label" to label the source corresponding to the output connection. When the funnel supports multi-output, this property needs to be introduced to mark which source component a certain output connection corresponds to. Signed-off-by: Tao Zhang --- .../arm/arm,coresight-dynamic-funnel.yaml | 34 ++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml index 44a1041cb0fc..cde62c286d29 100644 --- a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml +++ b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml @@ -66,13 +66,39 @@ properties: $ref: /schemas/graph.yaml#/properties/port out-ports: - $ref: /schemas/graph.yaml#/properties/ports - additionalProperties: false - + type: object properties: + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + port: + type: object + + patternProperties: + '^port(@[0-7])?$': + type: object description: Output connection to CoreSight Trace bus - $ref: /schemas/graph.yaml#/properties/port + + patternProperties: + "^endpoint(@[0-9a-f]+)?$": + type: object + properties: + remote-endpoint: + description: | + phandle to an 'endpoint' subnode of a remote device node. + $ref: /schemas/types.yaml#/definitions/phandle + label: + description: Label the source corresponding to the output connection + $ref: /schemas/types.yaml#/definitions/string + oneOf: + - required: + - port + - required: + - "#address-cells" + - "#size-cells" required: - compatible