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) <robh@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
committed by
Miquel Raynal
parent
2014c95afe
commit
9ea13d9e40
@@ -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:
|
||||
- |
|
||||
|
||||
Reference in New Issue
Block a user