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,sun4i-a10-emac.yaml | |
parent | 07e6315e75cde3223b2fe19b54bf0c3ff41da42a (diff) | |
download | lwn-454f5d9da1953e05c4df51b28c335daf49dd5425.tar.gz lwn-454f5d9da1953e05c4df51b28c335daf49dd5425.zip |
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,sun4i-a10-emac.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml index 792196bf4abd..ae4796ec50a0 100644 --- a/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml +++ b/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml @@ -38,6 +38,8 @@ required: - phy-handle - allwinner,sram +unevaluatedProperties: false + examples: - | emac: ethernet@1c0b000 { @@ -49,8 +51,4 @@ examples: allwinner,sram = <&emac_sram 1>; }; -# FIXME: We should set it, but it would report all the generic -# properties as additional properties. -# additionalProperties: false - ... |