Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp714831rwi; Thu, 13 Oct 2022 04:24:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5JjLOUyHIy7cDMgIP82KES3RHZoTTABVT/XqQ8EfSUl6vwtKv4cyPXCvbVNhQYI5JrxR9N X-Received: by 2002:a17:90a:db0f:b0:20a:7294:638d with SMTP id g15-20020a17090adb0f00b0020a7294638dmr10372157pjv.228.1665660277091; Thu, 13 Oct 2022 04:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665660277; cv=none; d=google.com; s=arc-20160816; b=Hd9kbUOyBZfKBxZregX1Cb2MsbYePNmB2WnqfXq+QLUiI/Krdhq7ohH4k3jnxx/Hwn OwyzXAHWWqCn5ubmU4cFtxQsVGBYS2svTIa4lDvQsfplSWRLA0offIgSCUn/nLoagjOG /cL859gzDBPq7gbKz7qdPGH8eIZq3nn1hFQlkSWxBdVswZ7Yg7Y6Ns1L9hsDgClhiDUr Psf9tiRFwzRfIKfeKa6NqgK3WRItqsLs4kyA7NQzuSJYKojtjv58uXNTM9UpxWefGkLq ij07uev/h/l2Y9t0zCT90kI1BTxTs0Y6rPY8jCyYo9yUDCXJ1Zi4mPfCkcxqck16xb/N 5aaw== 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:dkim-signature; bh=FI+18i4qIsOhzavX4Io0C8n3cFIwI6z78puodiLXaBw=; b=WtD3L8fbYK5z2DrdXejPkp9nBTSfmEkZcOyIXDDj99euuiYfTskS/u6k3sObfr16Vn XKUXo8EbKzrzZmz1toSbmgU608+DaIs1FWEv6w8D5/nbw2C2tBHl8Nf7xxtAI83mm4n3 jTxomg066fqhJWUBLcbFX8vsXvQtHbKefmFbBy9pYRKw08kgVC6nReQoDkr/NyjVhIBS RQ8Y62XSxe2/aBOB8km+QJldQ2rg6fM2bk+x3mfG3CWec+XsOHM+9RuOO8Vw4f0qbkt1 ZhQxbdI4C6HDNASh98v3eiH5fONtTGc56VgZ/MNtZ4ZCdX/pYvrJfkPHkuq7BCTppxgm miWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="td9o3P/i"; 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 f23-20020a17090aa79700b0020b07bfc54esi4783813pjq.108.2022.10.13.04.24.12; Thu, 13 Oct 2022 04:24:37 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="td9o3P/i"; 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 S229545AbiJMLF7 (ORCPT + 99 others); Thu, 13 Oct 2022 07:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiJMLFz (ORCPT ); Thu, 13 Oct 2022 07:05:55 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7080B4D156; Thu, 13 Oct 2022 04:05:54 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A0CB6492; Thu, 13 Oct 2022 13:05:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1665659151; bh=dUZBnksssSEsbfYjTSHdrj0Sb8JpUXd5lCyKkoOrkH8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=td9o3P/iAjwPyoVF/NtEnmhWLO5rawjBajdtyTf4xyJGDzO90Dgh+VjIj9whSYvZP pCBr5bSg2Nq4A042YCFb3z1WKcxtdZiHrmfM8lbHcREkzYw14hH93ElRtY2qDENzS7 /gSEdzy91op7PCVQw965JCA+kpaB0kQ49CEOMlvk= Date: Thu, 13 Oct 2022 14:05:45 +0300 From: Laurent Pinchart To: 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 , Rob Herring , 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: 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=utf-8 Content-Disposition: inline In-Reply-To: <20221013105116.180380-2-allen.chen@ite.com.tw> 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_PASS,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 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 > 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