Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp46114rwb; Tue, 13 Dec 2022 13:53:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf7UGzhjs+26HF5jMsgVVjKIc4FuGBdj09lJNPiPR6luJDpf5MEeyvl6yiJ8Ekn6L1wE8FMt X-Received: by 2002:a62:1c42:0:b0:577:9182:199a with SMTP id c63-20020a621c42000000b005779182199amr20956215pfc.29.1670968403530; Tue, 13 Dec 2022 13:53:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670968403; cv=none; d=google.com; s=arc-20160816; b=ZqAyehw3Hdipdirc5NbE9eHjQVBUX3hUAAR2Btqc1E0GIfTD0rVAy76jFsOZICv9Kd c12fK/GG0vV9iPlIp3kiadj2hU0rx0Tsx4rrzb6EE8IuPfa4YlM7uKPGLnySh/x0CdvD 90668O8EI6x7LVgu9yVPOvjIUv1T5j0IEA8pWMsfvHZc00vB83cgSEkoT4q0kKdQswEc j6qfGxxFV1ti9Jy8tFuSjfbGbM5YHQVPvSxC+CA8JvcduWNUJb9E1ngkyijfdgu1N/EX 7Ady5u8mxELpNcS0Gq5LeXtuw7HiejmSe8VH64+060hdROLJ/o5VESSkQx0BHdwlKJCd I/cw== 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=4YbMngCO8DHVw+UZNElZwQGZWxr4piKOMfK4pV2qATQ=; b=spWp9EbH8BiglObDv7PlpZ8qbiNw0BMgnakfv3ZzCt4DWm11micjSWuTG0ueK/jyRI fc50SEwPPi8TNRZafwes8nUYnPYBPCTr4YqyYR6SNrx1xQueVZVNwX6Z3iLyH7wszNv5 d/B2O/xOOATRihE5Xt6/pv5K/auBrbm9gd5VEjJZTGZQv133lTDUoCkp+8jyS8/fUhw4 gNA+pMLLk7hYAJthxcpSeAP/EDsKQaesceMXu71qxrOGTqlGzRpRm4PxZVe6+ZGY5ehR QmCWcRH+smbA7g0/pojuah+IRMy6ccebxA6vcsDS+p0IWO32ilKovQePB/rQWOGH7bwy e1YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VNy3k9Hs; 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 z18-20020aa79e52000000b005726c063927si6296871pfq.161.2022.12.13.13.53.11; Tue, 13 Dec 2022 13:53:23 -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=VNy3k9Hs; 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 S235679AbiLMVon (ORCPT + 73 others); Tue, 13 Dec 2022 16:44:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236655AbiLMVoe (ORCPT ); Tue, 13 Dec 2022 16:44:34 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 748E620BDB; Tue, 13 Dec 2022 13:44:32 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BDKUnPQ018917; Tue, 13 Dec 2022 21:44:25 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=4YbMngCO8DHVw+UZNElZwQGZWxr4piKOMfK4pV2qATQ=; b=VNy3k9Hsuwzl2sdGcSHDqjPPu31rZAKXaZzxej+bmSJQYj9ZWUWzDxPOuQG56Fd//ti0 aQZTalcO7/NvsT2gdSKrvKfTJLDoQY/mLMf4gRBzO3sveiQ11y2uH3NlgV7i/xX2RsFC AugK71698oGG9Zc+gjzHksOzpux7RL/QhUIHl/gwFKJ/F+xeJ40AAvZz9DMnjJf5vjJS XjhQtFWYCVs9fTcjkaYBqLbcKF87vmVf8IMZee4QotWjOHjQ934bvKCgUQI45CXefvAx FcPJyBguAnv4+m0ACYuJ4GLffP9yweQxv7UNabqoE4afvxNpXgAFqS/MyGz/FzkCeR0M WA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3meyfq8ddh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Dec 2022 21:44:24 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2BDLiNU6021191 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Dec 2022 21:44:23 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, 13 Dec 2022 13:44:23 -0800 From: Kuogee Hsieh To: , , , , , , , , , , , , , , CC: Kuogee Hsieh , , , , , Subject: [PATCH v12 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property Date: Tue, 13 Dec 2022 13:44:05 -0800 Message-ID: <1670967848-31475-3-git-send-email-quic_khsieh@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1670967848-31475-1-git-send-email-quic_khsieh@quicinc.com> References: <1670967848-31475-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: 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-GUID: NWFIo6d_pBC1gkrMP9Bshd_MY31FMiOY X-Proofpoint-ORIG-GUID: NWFIo6d_pBC1gkrMP9Bshd_MY31FMiOY 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-13_03,2022-12-13_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 suspectscore=0 mlxlogscore=996 clxscore=1015 priorityscore=1501 bulkscore=0 spamscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212130188 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 Add both data-lanes and link-frequencies property into endpoint 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 Signed-off-by: Kuogee Hsieh ` --- .../bindings/display/msm/dp-controller.yaml | 30 ++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index f2515af..8fb9fa5 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: @@ -96,14 +97,37 @@ properties: ports: $ref: /schemas/graph.yaml#/properties/ports + properties: port@0: - $ref: /schemas/graph.yaml#/properties/port + $ref: "/schemas/graph.yaml#/$defs/port-base" description: Input endpoint of the controller + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# 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# + 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 +217,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