[PATCH v1 3/6] dt-bindings: display: bridge: toshiba,tc358768: add parallel input mode

From: Francesco Dolcini
Date: Thu Mar 30 2023 - 06:00:05 EST


From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>

Add new toshiba,input-rgb-mode property to describe the actual signal
connection on the parallel RGB input interface.

Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
---
.../bindings/display/bridge/toshiba,tc358768.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
index 8f22093b61ae..2638121a2223 100644
--- a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
@@ -42,6 +42,21 @@ properties:
clock-names:
const: refclk

+ toshiba,input-rgb-mode:
+ description: |
+ Parallel Input (RGB) Mode.
+
+ RGB inputs (PD[23:0]) color arrangement as documented in the datasheet
+ and in the table below.
+
+ 0 = R[7:0], G[7:0], B[7:0]
+ 1 = R[1:0], G[1:0], B[1:0], R[7:2], G[7:2], B[7:2]
+ 2 = 8’b0, R[4:0], G[5:0], B[4:0]
+
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [ 0, 1, 2 ]
+ default: 0
+
ports:
$ref: /schemas/graph.yaml#/properties/ports

--
2.25.1