From: Miquel Raynal Date: Mon, 19 Jun 2023 09:29:16 +0000 (+0200) Subject: dt-bindings: mtd: ti,am654: Prevent unevaluated properties X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bae825ccfd4b49695466c81eed5bb51c00eebd54;p=linux.git dt-bindings: mtd: ti,am654: Prevent unevaluated properties Reference mtd-physmap.yaml which contains all the relevant properties for this device. Add "unevaluatedProperties: false" to avoid any spurious addition of random properties. Cc: Vignesh Raghavendra Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-18-miquel.raynal@bootlin.com --- diff --git a/Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml b/Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml index 4774c92e7fc4d..df4fdc02456dd 100644 --- a/Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml +++ b/Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml @@ -30,6 +30,8 @@ properties: patternProperties: "^flash@[0-1],[0-9a-f]+$": type: object + $ref: mtd-physmap.yaml + unevaluatedProperties: false required: - compatible