Skip to content

Commit bae825c

Browse files
committed
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 <vigneshr@ti.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-18-miquel.raynal@bootlin.com
1 parent 2beb46f commit bae825c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ properties:
3030
patternProperties:
3131
"^flash@[0-1],[0-9a-f]+$":
3232
type: object
33+
$ref: mtd-physmap.yaml
34+
unevaluatedProperties: false
3335

3436
required:
3537
- compatible

0 commit comments

Comments
 (0)