The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: srini@kernel.org
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org,
	Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
	Thomas Bourgoin <thomas.bourgoin@foss.st.com>,
	Conor Dooley <conor.dooley@microchip.com>,
	Srinivas Kandagatla <srini@kernel.org>
Subject: [PATCH 5/8] dt-bindings: nvmem: st,stm32-romem: align patternProperties regex on nvmem-deprecated-cells.yaml
Date: Tue,  1 Dec 2026 23:27:33 +0000	[thread overview]
Message-ID: <20261201232736.537847-6-srini@kernel.org> (raw)
In-Reply-To: <20261201232736.537847-1-srini@kernel.org>

From: Fabrice Gasnier <fabrice.gasnier@foss.st.com>

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@foss.st.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
---
 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.53.0


  parent reply	other threads:[~2026-12-01 23:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 23:27 [PATCH 0/8] nvmem: patches for v7.5 srini
2026-12-01 23:27 ` [PATCH 1/8] dt-bindings: nvmem: Add compatible for MSM8952 srini
2026-12-01 23:27 ` [PATCH 2/8] dt-bindings: nvmem: qfprom: Add SM8350 compatible srini
2026-12-01 23:27 ` [PATCH 3/8] nvmem: qfprom: Add the SM8350 keepout regions srini
2026-12-01 23:27 ` [PATCH 4/8] nvmem: m24lr: Remove use of i2c_match_id() srini
2026-12-01 23:27 ` srini [this message]
2026-12-01 23:27 ` [PATCH 6/8] nvmem: don't use devres in subsystem code srini
2026-12-01 23:27 ` [PATCH 7/8] nvmem: use const APIs for legacy sysfs attributes srini
2026-12-01 23:27 ` [PATCH 8/8] dt-bindings: nvmem: SID: Add binding for A733 SID controller srini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201232736.537847-6-srini@kernel.org \
    --to=srini@kernel.org \
    --cc=conor.dooley@microchip.com \
    --cc=fabrice.gasnier@foss.st.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thomas.bourgoin@foss.st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox