[PATCH] dt-bindings: samsung,mipi-dsim: Use port-base reference

Fabio Estevam festevam at denx.de
Wed May 31 19:12:07 UTC 2023


On 31/05/2023 15:56, Krzysztof Kozlowski wrote:

> This would have sense if you kept original intention, so
> additionalProperties: false
> 
> Without it - you just break bindings to hide warning.

I am not sure I understood your suggestion.

Is this what you mean?

diff --git 
a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml 
b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
index 06b6c44d4641..033404669b11 100644
--- 
a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
+++ 
b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
@@ -96,14 +96,14 @@ properties:

      properties:
        port at 0:
-        $ref: /schemas/graph.yaml#/properties/port
+        $ref: /schemas/graph.yaml#/$defs/port-base
          description:
            Input port node to receive pixel data from the
            display controller. Exactly one endpoint must be
            specified.

        port at 1:
-        $ref: /schemas/graph.yaml#/properties/port
+        $ref: /schemas/graph.yaml#/$defs/port-base
          description:
            DSI output port node to the panel or the next bridge
            in the chain.
@@ -230,8 +230,7 @@ allOf:
          - vddio-supply
          - samsung,phy-type

-additionalProperties:
-  type: object
+additionalProperties: false

  examples:
    - |
-- 


More information about the dri-devel mailing list