summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-08-25 22:26:07 +0300
committerJakub Kicinski <kuba@kernel.org>2022-08-26 05:53:37 +0300
commit057062adb49b6ae9760e5615f23e6a7f557e7fa6 (patch)
tree9a47623965621a1f98b5062dbef9e7e99f74061e /Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml
parent880b0dd94f0399cf772a8582e7b5a47f180c8618 (diff)
downloadlinux-057062adb49b6ae9760e5615f23e6a7f557e7fa6.tar.xz
dt-bindings: net: 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). Add missing properties/$refs as exposed by this addition. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220825192609.1538463-1-robh@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml')
-rw-r--r--Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml b/Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml
index 62dffee27c3d..8e51dcdb4796 100644
--- a/Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml
+++ b/Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml
@@ -32,6 +32,7 @@ properties:
ethernet-ports:
type: object
+ additionalProperties: false
description: Ethernet ports to PHY
properties:
@@ -44,6 +45,7 @@ properties:
patternProperties:
"^port@[0-1]$":
type: object
+ additionalProperties: false
description: Port to PHY
properties: