Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3519885rwl; Tue, 27 Dec 2022 10:20:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXv+h+izeajB3hz0FtxnYjxUyKZjvn1HtMbcPleXlj9LBzJBZV9NjzlH8/U1tfApsCfzODpU X-Received: by 2002:a05:6402:1298:b0:461:75f1:9254 with SMTP id w24-20020a056402129800b0046175f19254mr20200305edv.2.1672165215835; Tue, 27 Dec 2022 10:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672165215; cv=none; d=google.com; s=arc-20160816; b=GSXGLpyz43/SmMPPnBbFgpIROQbUsW0fT6D/Kwq9YC7ypihnQtOu0GxV9RW3e07zbz APcBC3WdiX8gPRDFbK+pgKsSwOg+5ICLT8NciOdCqJeFh7yfSkkBOT17WKsB3whD4jsP dVbjWqq/c5+DXOBy3M6nGhwfkqK7RISelS+Smjz01U1/kbcPCKDZRgxG9V8jgvpTUmkD 4Wx9xYH/3/EWJCK40Ly0ufAWnP6SZWxT2rxgV6n7FUhAXVyB2zRI3y3+cy1I5vzKaQbf 1gVrW+kAcZhIjAxqtvP1EE+BAEr/MrGP/8xgdY0hwfSeRtc03WYTuA8HEhtlh5lc16nv /CIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=A0U5FnBjH/+SDac+st1CkbjVHrl+1g0o9pNFYSALOgk=; b=sGUf6r1caMsgEGdk+8Bq5KlcI+vJW3bzm8OyX9coLiQe2AI/rsYa7StA8nQ8ItkQHl 8eyXTA4jkG3f4EWaAI+Y+Ka4hD/O3qUgVCsUToKLRALWU4pMe+kafm5E6D4I1/Zaz4EF OGHJ9Fx5MM0XB7cCiXBnyidnpr5/Te/hkmqFvfhD/er9+1J0QrgfZTZXzckWxDEQLuaM cMVzg3rsLDzq/48jAZAvbG+nWVQkm6PIYDrrfnsV4yJpMeF7UxJd0wx3DweAY01z7edT QFhfDBqsOlVT0+mzY3t3olpN1W0SxUxNOEMwueuFgvejDG40RIyWU44cWDky5ibMCkC8 ++ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=S6gcLUkf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz17-20020a0564021d5100b00453688643fasi12701512edb.260.2022.12.27.10.20.00; Tue, 27 Dec 2022 10:20:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=S6gcLUkf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232198AbiL0Rpx (ORCPT + 66 others); Tue, 27 Dec 2022 12:45:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232128AbiL0Rpo (ORCPT ); Tue, 27 Dec 2022 12:45:44 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 537ACD10C; Tue, 27 Dec 2022 09:45:39 -0800 (PST) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BRGwXZ2024389; Tue, 27 Dec 2022 17:45:32 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=A0U5FnBjH/+SDac+st1CkbjVHrl+1g0o9pNFYSALOgk=; b=S6gcLUkfAp0FQnUR7i3KDxEMod4/QRiuYCsuvUEL6zWg23QmVqKKI3hyO6ZF/pMixz1d No/uwneUVnJs95DWCbXsKgcey29XF0Zrxvzgipu7bewPG8DgHkQwx402ygY3SWFyusGS TRTW2HkCsF65xhDFSzK15fOt1yp3vniubcY3p66/84Db1uL7D5niTgErfancLao+BCCc eM5Q3KK2ysRG+Sax36xTn5YZU7UrzkVcX1mabXK6gwQT1772pqZ2frc4mgr0/XIyLLFE BSoRq55KDemBc0vKFganYs+p4FZH6wSYbQQavVz6tPTAboT3zQbsK17nOHO+6N+GotLH 9Q== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mnpsvnv5a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Dec 2022 17:45:23 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2BRHjMvA027859 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Dec 2022 17:45:22 GMT Received: from khsieh-linux1.qualcomm.com (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.986.36; Tue, 27 Dec 2022 09:45:22 -0800 From: Kuogee Hsieh To: , , , , , , , , , , , , , , CC: Kuogee Hsieh , , , , , Subject: [PATCH v16 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property Date: Tue, 27 Dec 2022 09:45:00 -0800 Message-ID: <1672163103-31254-3-git-send-email-quic_khsieh@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1672163103-31254-1-git-send-email-quic_khsieh@quicinc.com> References: <1672163103-31254-1-git-send-email-quic_khsieh@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-GUID: auS4GzqlNsXhwj-RmxBdjOTywPhDLa7X X-Proofpoint-ORIG-GUID: auS4GzqlNsXhwj-RmxBdjOTywPhDLa7X X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-27_13,2022-12-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=999 phishscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 adultscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212270146 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To increase the flexibility of supporting different DP main link configuration at different platform, add both data-lanes and link-frequencies property into endpoint so that different platform can specify its own main link combination of both data lanes and max supported link rate. Changes in v7: -- split yaml out of dtsi patch -- link-frequencies from link rate to symbol rate -- deprecation of old data-lanes property Changes in v8: -- correct Bjorn mail address to kernel.org Changes in v10: -- add menu item to data-lanes and link-frequecnis Changes in v11: -- add endpoint property at port@1 Changes in v12: -- use enum for item at data-lanes and link-frequencies Changes in v13: -- revised changes at port@0 -- use correct ref schemas for both port@0 and port@1 -- mark both port@0 and port@1 are required -- add line between data-lanes and link-frequencies properties Changes in v14: -- add "unevaluatedProperties: false: to endpoint at port@1 -- remove unnecessary quote to $ref -- re store "$ref: /schemas/graph.yaml#/properties/port" to port@0 Changes in v15: -- re store desciption of port@0 Signed-off-by: Kuogee Hsieh Reviewed-by: Rob Herring --- .../bindings/display/msm/dp-controller.yaml | 25 +++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index f2515af..774ccb5 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -81,6 +81,7 @@ properties: data-lanes: $ref: /schemas/types.yaml#/definitions/uint32-array + deprecated: true minItems: 1 maxItems: 4 items: @@ -102,8 +103,28 @@ properties: description: Input endpoint of the controller port@1: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base description: Output endpoint of the controller + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + properties: + data-lanes: + minItems: 1 + maxItems: 4 + items: + enum: [ 0, 1, 2, 3 ] + + link-frequencies: + minItems: 1 + maxItems: 4 + items: + enum: [ 1620000000, 2700000000, 5400000000, 8100000000 ] + + required: + - port@0 + - port@1 required: - compatible @@ -193,6 +214,8 @@ examples: reg = <1>; endpoint { remote-endpoint = <&typec>; + data-lanes = <0 1>; + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; }; }; }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project