Skip to content

Commit cdb63c7

Browse files
krzkgregkh
authored andcommitted
dt-bindings: nvmem: st,stm32-romem: add missing "unevaluatedProperties" on child nodes
All nodes need an explicit additionalProperties or unevaluatedProperties unless a $ref has one that's false. Fixing this for STM32 Factory-programmed data binding needs referencing fixed layout schema for children. Add reference to the NVMEM deprecated cells for the schema to be complete. This fixes dt_binding_check warning: st,stm32-romem.yaml: ^.*@[0-9a-f]+$: Missing additionalProperties/unevaluatedProperties constraint Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2fcea44 commit cdb63c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ maintainers:
1717

1818
allOf:
1919
- $ref: nvmem.yaml#
20+
- $ref: nvmem-deprecated-cells.yaml#
2021

2122
properties:
2223
compatible:
@@ -32,6 +33,8 @@ properties:
3233
patternProperties:
3334
"^.*@[0-9a-f]+$":
3435
type: object
36+
$ref: layouts/fixed-cell.yaml
37+
unevaluatedProperties: false
3538

3639
properties:
3740
st,non-secure-otp:

0 commit comments

Comments
 (0)