2021-10-12 15:51:19

by Nishanth Menon

[permalink] [raw]
Subject: [PATCH] dt-bindings: sram: Allow numbers in sram region node name

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 <[email protected]>
---
Documentation/devicetree/bindings/sram/sram.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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.
--
2.32.0


2021-10-27 09:52:36

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: sram: Allow numbers in sram region node name

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 <[email protected]>
> ---
> Documentation/devicetree/bindings/sram/sram.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied, thanks!