Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Maxime Ripard and committed by
Rob Herring
454f5d9d 07e6315e

+16 -38
+1 -3
Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml
··· 68 68 clocks: 69 69 maxItems: 1 70 70 71 - # FIXME: We should set it, but it would report all the generic 72 - # properties as additional properties. 73 - # additionalProperties: false 71 + unevaluatedProperties: false 74 72 75 73 examples: 76 74 - |
+1 -3
Documentation/devicetree/bindings/i2c/allwinner,sun6i-a31-p2wi.yaml
··· 40 40 - clocks 41 41 - resets 42 42 43 - # FIXME: We should set it, but it would report all the generic 44 - # properties as additional properties. 45 - # additionalProperties: false 43 + unevaluatedProperties: false 46 44 47 45 examples: 48 46 - |
+1 -3
Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml
··· 93 93 required: 94 94 - resets 95 95 96 - # FIXME: We should set it, but it would report all the generic 97 - # properties as additional properties. 98 - # additionalProperties: false 96 + unevaluatedProperties: false 99 97 100 98 examples: 101 99 - |
+1 -3
Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml
··· 52 52 - interrupts 53 53 - interrupt-controller 54 54 55 - # FIXME: We should set it, but it would report all the generic 56 - # properties as additional properties. 57 - # additionalProperties: false 55 + unevaluatedProperties: false 58 56 59 57 examples: 60 58 - |
+1 -3
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml
··· 60 60 - clocks 61 61 - clock-names 62 62 63 - # FIXME: We should set it, but it would report all the generic 64 - # properties as additional properties. 65 - # additionalProperties: false 63 + unevaluatedProperties: false 66 64 67 65 examples: 68 66 - |
+2 -4
Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
··· 85 85 - clocks 86 86 - clock-names 87 87 88 + unevaluatedProperties: false 89 + 88 90 examples: 89 91 - | 90 92 mmc0: mmc@1c0f000 { ··· 98 96 bus-width = <4>; 99 97 cd-gpios = <&pio 7 1 0>; 100 98 }; 101 - 102 - # FIXME: We should set it, but it would report all the generic 103 - # properties as additional properties. 104 - # additionalProperties: false 105 99 106 100 ...
+2 -4
Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml
··· 38 38 - phy-handle 39 39 - allwinner,sram 40 40 41 + unevaluatedProperties: false 42 + 41 43 examples: 42 44 - | 43 45 emac: ethernet@1c0b000 { ··· 50 48 phy-handle = <&phy0>; 51 49 allwinner,sram = <&emac_sram 1>; 52 50 }; 53 - 54 - # FIXME: We should set it, but it would report all the generic 55 - # properties as additional properties. 56 - # additionalProperties: false 57 51 58 52 ...
+2 -4
Documentation/devicetree/bindings/net/allwinner,sun4i-a10-mdio.yaml
··· 49 49 - compatible 50 50 - reg 51 51 52 + unevaluatedProperties: false 53 + 52 54 examples: 53 55 - | 54 56 mdio@1c0b080 { ··· 64 62 reg = <0>; 65 63 }; 66 64 }; 67 - 68 - # FIXME: We should set it, but it would report all the generic 69 - # properties as additional properties. 70 - # additionalProperties: false 71 65 72 66 ...
+2 -4
Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml
··· 49 49 - clock-names 50 50 - phy-mode 51 51 52 + unevaluatedProperties: false 53 + 52 54 examples: 53 55 - | 54 56 gmac: ethernet@1c50000 { ··· 62 60 clock-names = "stmmaceth", "allwinner_gmac_tx"; 63 61 phy-mode = "mii"; 64 62 }; 65 - 66 - # FIXME: We should set it, but it would report all the generic 67 - # properties as additional properties. 68 - # additionalProperties: false 69 63 70 64 ...
+2 -4
Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
··· 184 184 - mdio-parent-bus 185 185 - mdio@1 186 186 187 + unevaluatedProperties: false 188 + 187 189 examples: 188 190 - | 189 191 ethernet@1c0b000 { ··· 315 313 }; 316 314 }; 317 315 }; 318 - 319 - # FIXME: We should set it, but it would report all the generic 320 - # properties as additional properties. 321 - # additionalProperties: false 322 316 323 317 ...
+1 -3
Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
··· 31 31 - compatible 32 32 - reg 33 33 34 - # FIXME: We should set it, but it would report all the generic 35 - # properties as additional properties. 36 - # additionalProperties: false 34 + unevaluatedProperties: false 37 35 38 36 examples: 39 37 - |