]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: mtd: Ensure partition node properties are documented
authorRob Herring (Arm) <robh@kernel.org>
Wed, 21 Jan 2026 19:56:40 +0000 (13:56 -0600)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 22 Jan 2026 14:08:08 +0000 (15:08 +0100)
commit1eb9fabd52933cdf9be349de5391920fac4ed30b
treea5be23a9547abaeb639a00cfd84aaecb19c77127
parent95af1e641b0f245d1d6820bb0c8696fa6a07f5f5
dt-bindings: mtd: Ensure partition node properties are documented

Partition nodes without a compatible have no restrictions on additional
properties. Fix this by ensuring 'unevaluatedProperties' is set when
there's no compatible property. If there is a compatible property, then
there should be a specific schema for it which will enforce
'unevaluatedProperties'.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Documentation/devicetree/bindings/mtd/mtd.yaml
Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml
Documentation/devicetree/bindings/mtd/partitions/partition.yaml
Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml
Documentation/devicetree/bindings/mtd/partitions/u-boot.yaml
Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml