Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp47881rwi; Wed, 26 Oct 2022 20:18:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6AAqAiO99WewfJNlAAiyLcUG4SvT0G4E1FoG9/wcymcdEVZG0bV2FHmVYsT8uKFJrJJF7p X-Received: by 2002:a50:ec0a:0:b0:461:c0ca:a0bc with SMTP id g10-20020a50ec0a000000b00461c0caa0bcmr18414368edr.306.1666840734560; Wed, 26 Oct 2022 20:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666840734; cv=none; d=google.com; s=arc-20160816; b=nllpS60KJgsdrqptDvpikoOqR0/qTuVVIlIiyP0oAGOjeRu7GB+0o8YMlGkHUvRmQy 4guFoDwTeXq6TayZHR+qet9LCBhkSdVgbpEjhzNywUw/ZfXzPcyE2IEUhYkeNrbbAMra nijAWyMZ7Gqg+W8Qf9HoL3a4+b8k6amSv//+clUVViq8UKMy5B8qQaVP+i6wGenKkDhx IVGmnd/EU0x300E0i8srPWR595N9bDADfHp62dnHmzAiQVw6zWSW8nZKp0ROtNQbtb6U ekiEzm2G1akEzaumrLgNkZvFS8X1cco9UpXLR+Ly7OP7IqnUuN/lJ+kT/GSY+1yUvmfT 95iw== 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=K8pJQy2ALE9QVF+in7mcihEQBQMiOvmf7Og9sAdL99I=; b=XpuDSYVG33Wmwz5eqnq52XqJew8yCRP39Nu5iMuzxEpcf7985M0SNrpDhlnRzrzNO4 SXUn9F7kGgK/DCtbrcuJ6RR6OpmVwDS+efwlVnrIY9Fq2uu1vJVbbD/GqavRj+ZiZ07h 3bX5qxp75IiHTmg2+JtnGAWbmD+TE61ZI9AdBfPyuxngOjwIocp1XEYUG0qraeXSxAHa /jTvXGs/7EEpFDvM4ZTnrRld2WsLabXaqiw/bWxLVasfBhvhtXVbswiXd4lDsZbSAFVc MCfEciEmzLzbSoOKAuD18CBAFlUSyhgbsh4GNfWcRIk+o+K+FE30rRfhU2HU3ufyaJS8 dM8w== 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 hp39-20020a1709073e2700b007a3fbdb825asi204977ejc.707.2022.10.26.20.18.29; Wed, 26 Oct 2022 20:18:54 -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 S234272AbiJ0DCh (ORCPT + 99 others); Wed, 26 Oct 2022 23:02:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234150AbiJ0DCQ (ORCPT ); Wed, 26 Oct 2022 23:02:16 -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 422A614408E; Wed, 26 Oct 2022 20:02:15 -0700 (PDT) Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 27 Oct 2022 11:02:14 +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 29R329aQ066880; Thu, 27 Oct 2022 11:02:09 +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, 27 Oct 2022 11:02:08 +0800 From: allen CC: Allen Chen , Pin-Yen Lin , Jau-Chih Tseng , Hermes Wu , Kenneth Hung , 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 v6 1/2] dt-bindings: it6505: add properties to restrict output bandwidth Date: Thu, 27 Oct 2022 11:01:53 +0800 Message-ID: <20221027030155.59238-2-allen.chen@ite.com.tw> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221027030155.59238-1-allen.chen@ite.com.tw> References: <20221027030155.59238-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: 70E5B4906432A1B9367F90D8984C2AC6C8C504F4A986AA129654A344C592C4B62002:8 X-MAIL: mse.ite.com.tw 29R329aQ066880 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 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