devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] dt-bindings: sram: Allow for the childs nodes to be called sections
@ 2019-12-09  9:34 Maxime Ripard
  2019-12-09  9:34 ` [PATCH 2/4] dt-bindings: sram: Allow for more specific compatibles Maxime Ripard
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Maxime Ripard @ 2019-12-09  9:34 UTC (permalink / raw)
  To: Mark Rutland, Rob Herring, Frank Rowand
  Cc: Chen-Yu Tsai, Maxime Ripard, devicetree, linux-arm-kernel, krzk,
	Maxime Ripard

The generic SRAM binding currently only allows for child nodes of an SRAM
to be called sram too. However, these are also called sections in a number
of device tree, which seems a bit more accurate.

Let's change the name pattern to allow both.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
 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 ee2287a1b14d..83e3bc64d6fc 100644
--- a/Documentation/devicetree/bindings/sram/sram.yaml
+++ b/Documentation/devicetree/bindings/sram/sram.yaml
@@ -55,7 +55,7 @@ properties:
     type: boolean
 
 patternProperties:
-  "^([a-z]*-)?sram@[a-f0-9]+$":
+  "^([a-z]*-)?sram(-section)?@[a-f0-9]+$":
     type: object
     description:
       Each child of the sram node specifies a region of reserved memory.
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-12-18  1:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09  9:34 [PATCH 1/4] dt-bindings: sram: Allow for the childs nodes to be called sections Maxime Ripard
2019-12-09  9:34 ` [PATCH 2/4] dt-bindings: sram: Allow for more specific compatibles Maxime Ripard
2019-12-18  1:42   ` Rob Herring
2019-12-09  9:34 ` [PATCH 3/4] dt-bindings: sram: Add Allwinner SRAM compatibles Maxime Ripard
2019-12-18  1:42   ` Rob Herring
2019-12-09  9:34 ` [PATCH 4/4] dt-bindings: sram: Convert Allwinner A10 system controller to a schema Maxime Ripard
2019-12-18  1:43   ` Rob Herring
2019-12-18  1:50   ` Rob Herring
2019-12-18  1:39 ` [PATCH 1/4] dt-bindings: sram: Allow for the childs nodes to be called sections Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).