Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1358997rwi; Thu, 13 Oct 2022 12:31:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6fN317M0eZqlGCBWTXiUJJkjBreXN8GfirVtHrsl3o0pB12PV0o+DjajsZiXKqHmFVTzej X-Received: by 2002:a05:6a00:1a08:b0:545:362c:b219 with SMTP id g8-20020a056a001a0800b00545362cb219mr1269691pfv.27.1665689488802; Thu, 13 Oct 2022 12:31:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665689488; cv=none; d=google.com; s=arc-20160816; b=Gi/bm3VRaBiOj2VcJZH/4A6jG9cXt98DPQU1/5NTp8JH2uxZD9Brqrw4mYkRf0klaL BVS1EqpklBFKawXIB6z2GRQdQFNEXdKo7CwWc1oOcX5dVf1SQLwl50pPfs31xuQMeg4l CXY4OzhSfw461IDxnDZcVxDEaYxqxrbE2qyK9k+Kef7q5xM9QvHQGm0OwbRSgn1eD+Dt X08LjJwewjfIvyQjkvk3XfpoN2b940fnoWn9GGGDWVuWjqoj3lXecwc0Lh9qwCA9vGBU vIvpa4h/fZzzObYEWPGQPmg/wikzhxtsFczMMGPSx82M/+2JifQdXlvJ2/8M77OVTUn5 VcLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=vHfuZiPuTw4pNJzvk+reOtyVXJc2qDgE8sjvtsqunIA=; b=aUOIsUg2gmSXMEP94XMVifHmoEaJ0pK2lf6gt2Z18qAUs0bQnC4xGB5o3C8pPUGW5b w+4KZ0kgNWXnmWpIOJoDpxodnJP4iGbBeA4Ws6xCJQHVmVyZUto9fUXc52JCaApskUwR U86UAqYtGIWcv2l5356iHr4/otLouhU+ijJdo5m+Q2J0hBC99S0R+xqECOsw+UcUr/U/ 0P7y2dJfPCOplKqCMozAemSbJPncra1SeEw48djh9AwZMJ+5A4V6ip4RQ3N00TCKloT1 V8QKz3mURaSagTWcDcYrTyjOTu+rE9JquGA6twRv+hYcfPGIaJbh5WwGpP07Plt6Xj54 yXtA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja21-20020a170902efd500b001751a9de12esi538320plb.288.2022.10.13.12.31.13; Thu, 13 Oct 2022 12:31:28 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229462AbiJMTUU (ORCPT + 99 others); Thu, 13 Oct 2022 15:20:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbiJMTUS (ORCPT ); Thu, 13 Oct 2022 15:20:18 -0400 Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ACFD616F; Thu, 13 Oct 2022 12:20:17 -0700 (PDT) Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-134072c15c1so3474890fac.2; Thu, 13 Oct 2022 12:20:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vHfuZiPuTw4pNJzvk+reOtyVXJc2qDgE8sjvtsqunIA=; b=X9z1Fdxsq+tqE++vnWvtopWm0nLBZ7RHq3R7ZVtb9w0Ga373rWh9gi3tvExFUzYGm2 o0f0YQv6xKvf6Fzh25Ag5411rFEWuy65qh0Vf7+Rw+K90WktAb8PTReo1XqSrxpDehhd cOqcGwzWF38lc2Wq4zkqPHE5k4x9SuJxyOirFNrATQ4eLOCfBx1PQwycKQq2Ov4+i+vO 6Zi8XXjxI67RUPgN2nowgHjs0YOF79nAhrqc8qCNdTUpN9XEGoiXTBaKGcvqxhOX97aU KtJrX4SBsXFBbot8hM+gje3gNbHFN4uHnEmmnBHAEMkZeD2bSv3yI0TZyTQTn3DcLMkQ c4jA== X-Gm-Message-State: ACrzQf1Zrv69O8DCdHA+AFPHALVKUWPBCWcFmieVZ4jRM7fHHEPM1p1/ DHYb2ar6MmW/px9qPpDBaA== X-Received: by 2002:a05:6870:618e:b0:130:9e9d:650d with SMTP id a14-20020a056870618e00b001309e9d650dmr714936oah.109.1665688816240; Thu, 13 Oct 2022 12:20:16 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id a20-20020a544e14000000b00339befdfad0sm187921oiy.50.2022.10.13.12.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 12:20:15 -0700 (PDT) Received: (nullmailer pid 98235 invoked by uid 1000); Thu, 13 Oct 2022 19:20:16 -0000 Date: Thu, 13 Oct 2022 14:20:16 -0500 From: Rob Herring To: Laurent Pinchart , allen Cc: Pin-yen Lin , Jau-Chih Tseng , Kenneth Hung , Hermes Wu , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Krzysztof Kozlowski , "open list:DRM DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v4 1/2] dt-bindings: it6505: add properties to restrict output bandwidth Message-ID: <20221013192016.GA95717-robh@kernel.org> References: <20221013105116.180380-1-allen.chen@ite.com.tw> <20221013105116.180380-2-allen.chen@ite.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 13, 2022 at 02:05:45PM +0300, Laurent Pinchart wrote: > Hi Allen, > > Thank you for the patch. > > On Thu, Oct 13, 2022 at 06:51:13PM +0800, allen wrote: > > 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 | 43 +++++++++++++++++++ > > 1 file changed, 43 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > > index 833d11b2303a7..f2c3d1d10359e 100644 > > --- a/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > > +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > > @@ -52,10 +52,51 @@ properties: > > maxItems: 1 > > description: extcon specifier for the Power Delivery > > > > + data-lanes: > > + oneOf: > > + - minItems: 1 > > + maxItems: 1 > > + uniqueItems: true > > + items: > > + enum: > > + - 0 > > + - 1 > > + description: For one lane operation. > > + > > + - minItems: 2 > > + maxItems: 2 > > + uniqueItems: true > > + items: > > + enum: > > + - 0 > > + - 1 > > + description: For two lanes operation. > > + > > + - minItems: 4 > > + maxItems: 4 > > + uniqueItems: true > > + items: > > + enum: > > + - 0 > > + - 1 > > + - 2 > > + - 3 > > + description: For four lanes operation. > > The data lanes should be in the output endpoint. If there's no output > port, one should be added. > > > + > > port: > > $ref: /schemas/graph.yaml#/properties/port To fix the error, this must be: $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 > > + > > + properties: > > + link-frequencies: > > + minItems: 1 > > + maxItems: 1 > > + description: Allowed max link frequencies in Hz. > > + > > required: > > - compatible > > - ovdd-supply > > @@ -84,10 +125,12 @@ examples: > > pwr18-supply = <&it6505_pp18_reg>; > > reset-gpios = <&pio 179 1>; > > extcon = <&usbc_extcon>; > > + data-lanes = <0 1>; > > > > port { > > it6505_in: endpoint { > > remote-endpoint = <&dpi_out>; > > + link-frequencies = /bits/ 64 <150000000>; > > }; > > }; > > }; > > -- > Regards, > > Laurent Pinchart >