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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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:
   - |
--



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux