]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
dt-bindings: sram: Allow for the childs nodes to be called sections
authorMaxime Ripard <maxime@cerno.tech>
Mon, 9 Dec 2019 09:34:38 +0000 (10:34 +0100)
committerRob Herring <robh@kernel.org>
Wed, 18 Dec 2019 01:39:38 +0000 (19:39 -0600)
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>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/sram/sram.yaml

index ee2287a1b14d4edc2dabafa576635ae62ab892fe..83e3bc64d6fc8bec355eb18a9df422e4bb8c1ba7 100644 (file)
@@ -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.