Re: [PATCH v3 1/2] dt-bindings: it6505: add properties to restrict output bandwidth

From: Rob Herring
Date: Thu Oct 06 2022 - 08:56:00 EST


On Wed, Oct 5, 2022 at 9:05 PM allen <allen.chen@xxxxxxxxxx> wrote:
>
> From: allen chen <allen.chen@xxxxxxxxxx>
>
> Add properties to restrict dp output data-lanes and clock.
>
> Signed-off-by: Pin-Yen Lin <treapking@xxxxxxxxxxxx>
> Signed-off-by: Allen Chen <allen.chen@xxxxxxxxxx>
> ---
> .../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'