[PATCH v2] dt-bindings: nvmem: st,stm32-romem: align patternProperties regex on nvmem-deprecated-cells.yaml
From: Fabrice Gasnier
Date: Tue Oct 06 2026 - 09:24:22 EST
The patternProperties key only matched node names of the form
"name@address" ("^.*@[0-9a-f]+$"). It did not match nodes using the
extra unit-address index used to disambiguate cells sharing the same
reg, e.g. "trim-rd-cc1@1e8,4", causing dtbs_check failures such as:
efuse@44000000 (st,stm32mp25-bsec): Unevaluated properties are not
allowed ('trim-rd-cc1@1e8,4', ...)
Align the regex with the one used in nvmem-deprecated-cells.yaml
("@[0-9a-f]+(,[0-7])?$") so both patternProperties definitions apply
to the same set of node names.
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@xxxxxxxxxxx>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@xxxxxxxxxxx>
---
Changes in v2:
- Krzysztof's comment:
- fix commit message, invalid node names, underscores aren't allowed.
- split series
- Link to v1: https://patch.msgid.link/20260821-ucpd-host-fusb340-v7-2-rfc-v1-7-c5e27cbc0795@xxxxxxxxxxx
---
Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
index ab4cdc4e3614..a9988b1d63f5 100644
--- a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
+++ b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
@@ -31,7 +31,7 @@ properties:
maxItems: 1
patternProperties:
- "@[0-9a-f]+$":
+ "@[0-9a-f]+(,[0-7])?$":
type: object
$ref: layouts/fixed-cell.yaml
unevaluatedProperties: false
---
base-commit: a90ee4305c4a5df72c11b31dacfdc76e00fcf78a
change-id: 20261006-stm32-romem-87af60196bcf
Best regards,
--
Fabrice Gasnier <fabrice.gasnier@xxxxxxxxxxx>