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.pflue...@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 8438d2da0a4277db03e30b13cb270684c0c360cb..d9a77f7228e145b955b57746967e08e56f5a0c89 100644 --- a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml +++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml @@ -45,12 +45,22 @@ properties: const: 0 port@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@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" @@ -59,6 +69,9 @@ properties: additionalProperties: false +allOf: + - $ref: /schemas/display/dsi-controller.yaml# + required: - compatible - reg @@ -67,7 +80,7 @@ required: - clock-names - ports -additionalProperties: false +unevaluatedProperties: false examples: - | -- 2.50.0