[PATCH 07/16] dt-bindings: nvmem: st,stm32-romem: align patternProperties regex on nvmem-deprecated-cells.yaml
Fabrice Gasnier <[email protected]>
| Newsgroups | org.infradead.lists.linux-phy,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <20260821-ucpd-host-fusb340-v7-2-rfc-v1-7-c5e27cbc0795@foss.st.com> |
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.
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', ...)
Signed-off-by: Thomas Bourgoin <[email protected]>
Signed-off-by: Fabrice Gasnier <[email protected]>
---
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
--
2.43.0
--
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy