From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FF16C433FE for ; Thu, 6 Oct 2022 12:56:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbiJFMz4 (ORCPT ); Thu, 6 Oct 2022 08:55:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231706AbiJFMzb (ORCPT ); Thu, 6 Oct 2022 08:55:31 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A26D8CE05; Thu, 6 Oct 2022 05:54:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 8D963CE1691; Thu, 6 Oct 2022 12:54:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D174BC43145; Thu, 6 Oct 2022 12:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665060857; bh=MsIFn/B1+08rEbLiGduxeXGRhxZBa1pWHKmWKGsKPmw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HjKhW+QmffhhWWlm6qsN4Uz81lr19nxM/HJdG4wEwq9L9XPaX0J1su1KEdDq5zX+H jacDe1k2Jy9HTQTm01rhLr7k9z2kwwBcBGt44UQDYGfLTA97W4C44qlc3jpNPCoWZh UGbkop6EcgE13ItegzofWa3I06I+hIw0LBCMlH33lVJh+I/5m1tXviTau8LDsl1JmN vOIcsXa0JJXK8w1E5YhF3m0/eX53oT7l2+ouFSGmlonsKXcxx1rlRXR4LnVJIqY9Pd Ic1lBDcP2KQtNep343ytuBnfWaKHAbvHaNS7uiXmrkjTi1sMvz9km42+Vdt+kc8fIz Z2kzXwqZInzsg== Received: by mail-vk1-f172.google.com with SMTP id k14so775445vkk.0; Thu, 06 Oct 2022 05:54:17 -0700 (PDT) X-Gm-Message-State: ACrzQf0Q6XSr3jvdH+SOTVFAr4FxQ0XLhfWqiZp5W1ibh+q4laxW/RZe /BSrCm+ekC/lsu6eHPT2bgIsLEvs1JFFqnUHXQ== X-Google-Smtp-Source: AMsMyM5YQNA460THnTExkzg+jr8ivd5DgaPTjt3P6pRYVuUbdtP71PS4b31kGlnH8wJCcBae3wbGM0+goQ7pfoEgZas= X-Received: by 2002:a1f:3285:0:b0:3a9:ebd7:db97 with SMTP id y127-20020a1f3285000000b003a9ebd7db97mr2401790vky.14.1665060856647; Thu, 06 Oct 2022 05:54:16 -0700 (PDT) MIME-Version: 1.0 References: <20221006020444.15823-1-allen.chen@ite.com.tw> <20221006020444.15823-2-allen.chen@ite.com.tw> In-Reply-To: <20221006020444.15823-2-allen.chen@ite.com.tw> From: Rob Herring Date: Thu, 6 Oct 2022 07:54:06 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] dt-bindings: it6505: add properties to restrict output bandwidth To: allen Cc: Jau-Chih Tseng , Kenneth Hung , Hermes Wu , Pin-yen Lin , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 5, 2022 at 9:05 PM 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 | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > index 833d11b2303a..f5482a614d05 100644 > --- a/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > @@ -52,6 +52,16 @@ properties: > maxItems: 1 > description: extcon specifier for the Power Delivery > > + ite,dp-output-data-lane-count: > + description: restrict the dp output data-lanes with value of 1-4 > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [ 1, 2, 4 ] We have a standard property for lanes: data-lanes It goes in the endpoint. > + > + ite,dp-output-max-pixel-clock-mhz: > + description: restrict max pixel clock > + $ref: /schemas/types.yaml#/definitions/uint32 > + default: 150 Also have a common property for this: 'link-frequencies'