Commit c77c1853 authored by Rob Herring's avatar Rob Herring Committed by Vinod Koul
Browse files

dt-bindings: phy: Add missing (unevaluated|additional)Properties on child nodes



In order to ensure only documented properties are present, node schemas
must have unevaluatedProperties or additionalProperties set to false
(typically).

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220823145649.3118479-14-robh@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 04aebe18
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ properties:
patternProperties:
  "^pcie-phy@[0-9]+$":
    type: object
    additionalProperties: false
    description: >
      PCIe PHY child nodes

+2 −0
Original line number Diff line number Diff line
@@ -77,6 +77,8 @@ patternProperties:
      connector:
        type: object
        $ref: /schemas/connector/usb-connector.yaml
        unevaluatedProperties: false

        properties:
          vbus-supply: true

+2 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ properties:
patternProperties:
  "^usb3-phy@[0-9a-f]+$":
    type: object
    additionalProperties: false
    description:
      The USB3 PHY.

@@ -121,6 +122,7 @@ patternProperties:

  "^dp-phy@[0-9a-f]+$":
    type: object
    additionalProperties: false
    description:
      The DP PHY.

+3 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ properties:

  refclk-dig:
    type: object
    additionalProperties: false
    description: |
      WIZ node should have subnode for refclk_dig to select the reference
      clock source for the reference clock used in the PHY and PMA digital
@@ -118,6 +119,7 @@ properties:
patternProperties:
  "^pll[0|1]-refclk$":
    type: object
    additionalProperties: false
    description: |
      WIZ node should have subnodes for each of the PLLs present in
      the SERDES.
@@ -144,6 +146,7 @@ patternProperties:

  "^cmn-refclk1?-dig-div$":
    type: object
    additionalProperties: false
    description:
      WIZ node should have subnodes for each of the PMA common refclock
      provided by the SERDES.