[PATCH v2 03/15] dt-bindings: display: sprd: allow attaching a DSI panel
Otto Pflüger
otto.pflueger at abscue.de
Tue Jul 22 14:41:05 UTC 2025
Add a DSI output port and include common DSI controller bindings in the
bindings for the Unisoc DSI controller.
Signed-off-by: Otto Pflüger <otto.pflueger at abscue.de>
---
.../display/sprd/sprd,sharkl3-dsi-host.yaml | 27 ++++++++++++++++------
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml
index 71abbc2de8dbb1b674f151a87490c865b187fdd0..7da68eb026b97932515b470764fa3948104db4e8 100644
--- a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml
+++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml
@@ -46,12 +46,22 @@ properties:
const: 0
port at 0:
- type: object
- description:
- A port node with endpoint definitions as defined in
- Documentation/devicetree/bindings/media/video-interfaces.txt.
- That port should be the input endpoint, usually coming from
- the associated DPU.
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
+ description: The input endpoint, usually connected to the DPU
+
+ port at 1:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
+ description: The output endpoint, usually connected to the panel
required:
- "#address-cells"
@@ -60,6 +70,9 @@ properties:
additionalProperties: false
+allOf:
+ - $ref: /schemas/display/dsi-controller.yaml#
+
required:
- compatible
- reg
@@ -68,7 +81,7 @@ required:
- clock-names
- ports
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.50.0
More information about the dri-devel
mailing list