diff options
author | Maxime Ripard <maxime@cerno.tech> | 2019-11-01 14:58:08 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-11-05 22:23:46 -0600 |
commit | 454f5d9da1953e05c4df51b28c335daf49dd5425 (patch) | |
tree | 7752aea586fcdc7f0b16a1acfd45fc9e514f0647 /Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml | |
parent | 07e6315e75cde3223b2fe19b54bf0c3ff41da42a (diff) | |
download | linux-454f5d9da1953e05c4df51b28c335daf49dd5425.tar.gz |
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: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml index ef446ae166f3..f683b7104e3e 100644 --- a/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml +++ b/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml @@ -49,6 +49,8 @@ required: - clock-names - phy-mode +unevaluatedProperties: false + examples: - | gmac: ethernet@1c50000 { @@ -61,8 +63,4 @@ examples: phy-mode = "mii"; }; -# FIXME: We should set it, but it would report all the generic -# properties as additional properties. -# additionalProperties: false - ... |