Commit 454f5d9d authored by Maxime Ripard's avatar Maxime Ripard Committed by Rob Herring

dt-bindings: Remove FIXME in yaml bindings

Some binding that were introduced early on got a comment to enable
additionalProperties, but we couldn't due to the generic properties being
reported as errors.

The way we're dealing with this now is to use the draft-08's
unevaluatedProperties (even though the tools doesn't do anything with it
yet).

Let's convert those old bindings to it.
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 07e6315e
...@@ -68,9 +68,7 @@ else: ...@@ -68,9 +68,7 @@ else:
clocks: clocks:
maxItems: 1 maxItems: 1
# FIXME: We should set it, but it would report all the generic unevaluatedProperties: false
# properties as additional properties.
# additionalProperties: false
examples: examples:
- | - |
......
...@@ -40,9 +40,7 @@ required: ...@@ -40,9 +40,7 @@ required:
- clocks - clocks
- resets - resets
# FIXME: We should set it, but it would report all the generic unevaluatedProperties: false
# properties as additional properties.
# additionalProperties: false
examples: examples:
- | - |
......
...@@ -93,9 +93,7 @@ allOf: ...@@ -93,9 +93,7 @@ allOf:
required: required:
- resets - resets
# FIXME: We should set it, but it would report all the generic unevaluatedProperties: false
# properties as additional properties.
# additionalProperties: false
examples: examples:
- | - |
......
...@@ -52,9 +52,7 @@ required: ...@@ -52,9 +52,7 @@ required:
- interrupts - interrupts
- interrupt-controller - interrupt-controller
# FIXME: We should set it, but it would report all the generic unevaluatedProperties: false
# properties as additional properties.
# additionalProperties: false
examples: examples:
- | - |
......
...@@ -60,9 +60,7 @@ required: ...@@ -60,9 +60,7 @@ required:
- clocks - clocks
- clock-names - clock-names
# FIXME: We should set it, but it would report all the generic unevaluatedProperties: false
# properties as additional properties.
# additionalProperties: false
examples: examples:
- | - |
......
...@@ -85,6 +85,8 @@ required: ...@@ -85,6 +85,8 @@ required:
- clocks - clocks
- clock-names - clock-names
unevaluatedProperties: false
examples: examples:
- | - |
mmc0: mmc@1c0f000 { mmc0: mmc@1c0f000 {
...@@ -97,8 +99,4 @@ examples: ...@@ -97,8 +99,4 @@ examples:
cd-gpios = <&pio 7 1 0>; cd-gpios = <&pio 7 1 0>;
}; };
# FIXME: We should set it, but it would report all the generic
# properties as additional properties.
# additionalProperties: false
... ...
...@@ -38,6 +38,8 @@ required: ...@@ -38,6 +38,8 @@ required:
- phy-handle - phy-handle
- allwinner,sram - allwinner,sram
unevaluatedProperties: false
examples: examples:
- | - |
emac: ethernet@1c0b000 { emac: ethernet@1c0b000 {
...@@ -49,8 +51,4 @@ examples: ...@@ -49,8 +51,4 @@ examples:
allwinner,sram = <&emac_sram 1>; allwinner,sram = <&emac_sram 1>;
}; };
# FIXME: We should set it, but it would report all the generic
# properties as additional properties.
# additionalProperties: false
... ...
...@@ -49,6 +49,8 @@ required: ...@@ -49,6 +49,8 @@ required:
- compatible - compatible
- reg - reg
unevaluatedProperties: false
examples: examples:
- | - |
mdio@1c0b080 { mdio@1c0b080 {
...@@ -63,8 +65,4 @@ examples: ...@@ -63,8 +65,4 @@ examples:
}; };
}; };
# FIXME: We should set it, but it would report all the generic
# properties as additional properties.
# additionalProperties: false
... ...
...@@ -49,6 +49,8 @@ required: ...@@ -49,6 +49,8 @@ required:
- clock-names - clock-names
- phy-mode - phy-mode
unevaluatedProperties: false
examples: examples:
- | - |
gmac: ethernet@1c50000 { gmac: ethernet@1c50000 {
...@@ -61,8 +63,4 @@ examples: ...@@ -61,8 +63,4 @@ examples:
phy-mode = "mii"; phy-mode = "mii";
}; };
# FIXME: We should set it, but it would report all the generic
# properties as additional properties.
# additionalProperties: false
... ...
...@@ -184,6 +184,8 @@ allOf: ...@@ -184,6 +184,8 @@ allOf:
- mdio-parent-bus - mdio-parent-bus
- mdio@1 - mdio@1
unevaluatedProperties: false
examples: examples:
- | - |
ethernet@1c0b000 { ethernet@1c0b000 {
...@@ -314,8 +316,4 @@ examples: ...@@ -314,8 +316,4 @@ examples:
}; };
}; };
# FIXME: We should set it, but it would report all the generic
# properties as additional properties.
# additionalProperties: false
... ...
...@@ -31,9 +31,7 @@ required: ...@@ -31,9 +31,7 @@ required:
- compatible - compatible
- reg - reg
# FIXME: We should set it, but it would report all the generic unevaluatedProperties: false
# properties as additional properties.
# additionalProperties: false
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment