From: Rob Herring (Arm) Date: Mon, 3 Feb 2025 21:30:35 +0000 (-0600) Subject: dt-bindings: mtd: physmap: Ensure all properties are defined X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9ea13d9e40cfb6675a299147bb89d6ca9e7aad9a;p=users%2Fjedix%2Flinux-maple.git dt-bindings: mtd: physmap: Ensure all properties are defined Device specific schemas should not allow undefined properties which is what 'additionalProperties: true' allows. Add the missing 'ranges' property, and fix this constraint. Signed-off-by: Rob Herring (Arm) Acked-by: Conor Dooley Signed-off-by: Miquel Raynal --- diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml index 18f6733408b49..1b375dee83b0c 100644 --- a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml +++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml @@ -122,6 +122,8 @@ properties: '#size-cells': const: 1 + ranges: true + big-endian: true little-endian: true @@ -143,8 +145,7 @@ then: required: - syscon -# FIXME: A parent bus may define timing properties -additionalProperties: true +unevaluatedProperties: false examples: - |