Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1203596rwi; Thu, 3 Nov 2022 02:22:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM587e0ArGnEEJZH/0KfakE1Ckp1IBhTA5IE87bipihXz9+LY1Agmogz5LJ2S/xHWv3F/Lkq X-Received: by 2002:a63:1f53:0:b0:46f:ea8b:d746 with SMTP id q19-20020a631f53000000b0046fea8bd746mr11790272pgm.144.1667467360869; Thu, 03 Nov 2022 02:22:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667467360; cv=none; d=google.com; s=arc-20160816; b=P6L2CKrkhwgvsuGtxJWHsLsX6qCCkcO92DAirCblFlOOQdxyJV2Rvo+J3Kh/5yHdj7 KCC70N6/EisWhNEJK+9v/zU92bDRbQfNd9KX8L4uHP0FBnWEtd8oMfdkKLhPboooKsHB 0Oh1I8hh2ZdJX/yyYl9gpyP10llfk70c3KDsunwhyrCtK2lER/Da0m6BGll4kdvKklS8 gsjEzlgaB8GyHjYLNh2d5wD9U6RRMKY9FVw+P0blW9ZXDwH8X4xKuxPq5bhn/vON1SM0 0RZiUYi246fyRClJhgwIB4OwAV2pScgkk33S/Nak7gVVs6fqeJvkTV+mScHbJATysDlG Gbbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from; bh=mM+NQj4Tq4Ji/rbfh/rxAp6Wp6zZB9twSoz+a2QZqhE=; b=VTW9+hNyvIbRkHKP3wlhij07QJQD6HqSaLXkipKnX9ixBZu8TbvbJ2cxiOg8dx94vx eKawKmKiMzDdnj/vwdLejx6xiOim1XZDuigzZuXzyz1+KAl/vX46nmEQxEHhQ1LoaDKU qZCk5hVwA3UT9P0RsqL2MNV74ZnBA1DIZUvlZsQFezFenqeM77etP1Tjc8PEfBPxkcen nse/6636W573f1sIZu05ywL+mmI+91XRwz98Bv5GQpewlbTeM0gtlA+yifk7j1m5iarI ZlDCCulRmNih/Oae+K8lUoUkOUt/ztZk36UBWoFumiGGtqsf5btowg602O1NtzWG0uRh TpFw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a170902a5c200b0016db0d4f4c9si166069plq.65.2022.11.03.02.22.28; Thu, 03 Nov 2022 02:22:40 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbiKCJOM (ORCPT + 97 others); Thu, 3 Nov 2022 05:14:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiKCJNb (ORCPT ); Thu, 3 Nov 2022 05:13:31 -0400 Received: from ironport.ite.com.tw (60-251-196-230.hinet-ip.hinet.net [60.251.196.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21CC3DF8D; Thu, 3 Nov 2022 02:13:01 -0700 (PDT) Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 03 Nov 2022 17:13:00 +0800 Received: from CSBMAIL1.internal.ite.com.tw (CSBMAIL1.internal.ite.com.tw [192.168.65.58]) by mse.ite.com.tw with ESMTP id 2A39CvID002433; Thu, 3 Nov 2022 17:12:57 +0800 (GMT-8) (envelope-from allen.chen@ite.com.tw) Received: from VirtualBox.internal.ite.com.tw (192.168.70.46) by CSBMAIL1.internal.ite.com.tw (192.168.65.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.14; Thu, 3 Nov 2022 17:12:57 +0800 From: allen CC: Allen Chen , Jau-Chih Tseng , Hermes Wu , Kenneth Hung , Pin-yen Lin , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , "open list:DRM DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: [PATCH v7 1/2] dt-bindings: it6505: add properties to restrict output bandwidth Date: Thu, 3 Nov 2022 17:12:42 +0800 Message-ID: <20221103091243.96036-2-allen.chen@ite.com.tw> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221103091243.96036-1-allen.chen@ite.com.tw> References: <20221103091243.96036-1-allen.chen@ite.com.tw> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.70.46] X-ClientProxiedBy: CSBMAIL1.internal.ite.com.tw (192.168.65.58) To CSBMAIL1.internal.ite.com.tw (192.168.65.58) X-TM-SNTS-SMTP: 2283999EE5B7323393A09A8AFC977A900C2CA3014ADDFE9C61A1B5BCFD52F12C2002:8 X-MAIL: mse.ite.com.tw 2A39CvID002433 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,PDS_RDNS_DYNAMIC_FP, RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: allen chen Currently there are no "upstream" users. So, no existing users to break. Add properties to restrict dp output data-lanes and clock. Signed-off-by: Pin-Yen Lin Signed-off-by: Allen Chen --- .../bindings/display/bridge/ite,it6505.yaml | 68 +++++++++++++++++-- 1 file changed, 62 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml index 833d11b2303a7..b16a9d9127ddb 100644 --- a/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml @@ -52,9 +52,49 @@ properties: maxItems: 1 description: extcon specifier for the Power Delivery - port: - $ref: /schemas/graph.yaml#/properties/port - description: A port node pointing to DPI host port node + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: A port node pointing to DPI host port node + + properties: + endpoint: + $ref: /schemas/graph.yaml#/$defs/endpoint-base + unevaluatedProperties: false + + properties: + link-frequencies: + minItems: 1 + maxItems: 1 + description: Allowed max link frequencies in Hz + + port@1: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: Video port for DP output + + properties: + endpoint: + $ref: /schemas/graph.yaml#/$defs/endpoint-base + unevaluatedProperties: false + + properties: + data-lanes: + minItems: 1 + uniqueItems: true + items: + - enum: [ 0, 1 ] + - const: 1 + - const: 2 + - const: 3 + + required: + - port@0 + - port@1 required: - compatible @@ -63,6 +103,7 @@ required: - interrupts - reset-gpios - extcon + - ports additionalProperties: false @@ -85,9 +126,24 @@ examples: reset-gpios = <&pio 179 1>; extcon = <&usbc_extcon>; - port { - it6505_in: endpoint { - remote-endpoint = <&dpi_out>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + it6505_in: endpoint { + remote-endpoint = <&dpi_out>; + link-frequencies = /bits/ 64 <150000000>; + }; + }; + + port@1 { + reg = <1>; + it6505_out: endpoint { + remote-endpoint = <&dp_in>; + data-lanes = <0 1>; + }; }; }; }; -- 2.25.1