]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: nvmem: st,stm32-romem: add missing "unevaluatedProperties" on child...
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 2 Sep 2024 14:29:49 +0000 (15:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2024 10:13:23 +0000 (12:13 +0200)
commitcdb63c73fa513df9a2d7253e4f9cdcd18b5ceb56
tree581ffbe121d48b499cc1458fb9c198ac55bcc1d6
parent2fcea44e1ba16c55f4602948d2d43f3a365d6070
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>
Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml