summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd/mtd.yaml
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2022-11-14 10:03:08 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-11-17 21:59:20 +0100
commit7bdc671822e9099dd5328431867e4cf718b107f5 (patch)
treee2c114fe8cb18accfaa89d6d17a3aa38238dea2d /Documentation/devicetree/bindings/mtd/mtd.yaml
parente9a399caf0314a69593b653ddf0efadbb11ffb9a (diff)
dt-bindings: mtd: physmap: Reuse the generic definitions
The memory mapped MTD devices also share a lot with all the other MTD devices, so let's share the properties by referencing mtd.yaml. We can then drop mentioning the properties, to the cost of mentioning the possible "sram" node name prefix. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-11-miquel.raynal@bootlin.com
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/mtd.yaml')
-rw-r--r--Documentation/devicetree/bindings/mtd/mtd.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mtd/mtd.yaml b/Documentation/devicetree/bindings/mtd/mtd.yaml
index a6b498bbdbb6..2fbd0a2ff548 100644
--- a/Documentation/devicetree/bindings/mtd/mtd.yaml
+++ b/Documentation/devicetree/bindings/mtd/mtd.yaml
@@ -12,7 +12,7 @@ maintainers:
properties:
$nodename:
- pattern: "^flash(@.*)?$"
+ pattern: "^(flash|.*sram)(@.*)?$"
label:
description: