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

From: allen
Date: Wed Oct 05 2022 - 22:06:18 EST


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 ]
+
+ ite,dp-output-max-pixel-clock-mhz:
+ description: restrict max pixel clock
+ $ref: /schemas/types.yaml#/definitions/uint32
+ default: 150
+
port:
$ref: /schemas/graph.yaml#/properties/port
description: A port node pointing to DPI host port node
@@ -84,6 +94,8 @@ examples:
pwr18-supply = <&it6505_pp18_reg>;
reset-gpios = <&pio 179 1>;
extcon = <&usbc_extcon>;
+ ite,dp-output-data-lane-count = <2>;
+ ite,dp-output-max-pixel-clock-mhz = <150>;

port {
it6505_in: endpoint {
--
2.25.1