diff mbox series

dt-bindings: sram: Allow numbers in sram region node name

Message ID 20211012154833.14111-1-nm@ti.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: sram: Allow numbers in sram region node name | expand

Commit Message

Nishanth Menon Oct. 12, 2021, 3:48 p.m. UTC
Sram regions node name describes the region of reserved memory and can
be names such as l3cache@1000. Permit numbers to be used as part of the
reserved memory node name.

Signed-off-by: Nishanth Menon <nm@ti.com>
---
 Documentation/devicetree/bindings/sram/sram.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring (Arm) Oct. 26, 2021, 7:35 p.m. UTC | #1
On Tue, 12 Oct 2021 10:48:33 -0500, Nishanth Menon wrote:
> Sram regions node name describes the region of reserved memory and can
> be names such as l3cache@1000. Permit numbers to be used as part of the
> reserved memory node name.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
>  Documentation/devicetree/bindings/sram/sram.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml
index 3eda5049d183..939cf2418445 100644
--- a/Documentation/devicetree/bindings/sram/sram.yaml
+++ b/Documentation/devicetree/bindings/sram/sram.yaml
@@ -60,7 +60,7 @@  properties:
     type: boolean
 
 patternProperties:
-  "^([a-z]*-)?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.