]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: sram: Allow multiple-word prefixes to sram subnode
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Thu, 9 Apr 2026 10:04:30 +0000 (12:04 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 10 Apr 2026 13:44:55 +0000 (08:44 -0500)
Currently, foo-sram is allowed, but foo-bar-sram is not.

Allow it so that more complex names aren't unnecessarily simplified.

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260409-topic-sram_dtbindings_misc-v2-1-59dc6b0dec45@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/sram/sram.yaml

index cb2e11c73d988273992b9069319cd38d51e5881b..d5955fef53a48d133bc031187e88a2bd4edbd65e 100644 (file)
@@ -66,7 +66,7 @@ properties:
     type: boolean
 
 patternProperties:
-  "^([a-z0-9]*-)?sram(-section)?@[a-f0-9]+$":
+  "^([a-z0-9]+-)*sram(-section)?@[a-f0-9]+$":
     type: object
     description:
       Each child of the sram node specifies a region of reserved memory.