1

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 <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240902142952.71639-7-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Krzysztof Kozlowski 2024-09-02 15:29:49 +01:00 committed by Greg Kroah-Hartman
parent 2fcea44e1b
commit cdb63c73fa

View File

@ -17,6 +17,7 @@ maintainers:
allOf: allOf:
- $ref: nvmem.yaml# - $ref: nvmem.yaml#
- $ref: nvmem-deprecated-cells.yaml#
properties: properties:
compatible: compatible:
@ -32,6 +33,8 @@ properties:
patternProperties: patternProperties:
"^.*@[0-9a-f]+$": "^.*@[0-9a-f]+$":
type: object type: object
$ref: layouts/fixed-cell.yaml
unevaluatedProperties: false
properties: properties:
st,non-secure-otp: st,non-secure-otp: