This patch extends the binding schema by adding a new `bridge@[0-3]` to
represent any bridge devices attached as DSI peripheral.

Signed-off-by: Harikrishna Shenoy <h-she...@ti.com>
---
 .../bindings/display/dsi-controller.yaml       | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/dsi-controller.yaml 
b/Documentation/devicetree/bindings/display/dsi-controller.yaml
index 67ce10307ee0..d7ca700070a9 100644
--- a/Documentation/devicetree/bindings/display/dsi-controller.yaml
+++ b/Documentation/devicetree/bindings/display/dsi-controller.yaml
@@ -73,6 +73,24 @@ patternProperties:
     required:
       - reg
 
+  "^bridge@[0-3]$":
+    description: Bridge connected to the DSI link
+    type: object
+
+    properties:
+      reg:
+        minimum: 0
+        maximum: 3
+        description:
+          The virtual channel number of a DSI peripheral. Must be in the range
+          from 0 to 3, as DSI uses a 2-bit addressing scheme. Some DSI
+          peripherals respond to more than a single virtual channel. In that
+          case the reg property can take multiple entries, one for each virtual
+          channel that the peripheral responds to.
+
+    required:
+      - reg
+
 additionalProperties: true
 
 examples:
-- 
2.34.1

Reply via email to