summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Semin <fancer.lancer@gmail.com>2022-04-24 22:06:40 +0300
committerSerge Semin <fancer.lancer@gmail.com>2026-08-13 01:21:23 +0300
commit2f1b58de051761c333ca3771d7db986dd2aa5e4f (patch)
tree5c0217e9c229ce79c8671da0db35badf640214c6
parent39da390b82ea0af738c68b9647bcaaea64a4b0ee (diff)
downloadlinux-2f1b58de051761c333ca3771d7db986dd2aa5e4f.tar.gz
linux-2f1b58de051761c333ca3771d7db986dd2aa5e4f.zip
dt-bindings: mtd-physmap: Add Baikal-T1 internal ROM bindings
Rom embedded into the Baikal-T1 SoC has been supported by the MTD Physmap ROM driver since commit b3e79e7682e0 ("mtd: physmap: Add Baikal-T1 physically mapped ROM support"). Let's make sure that the corresponding DT node is evaluated by the 'mtd-rom'-compatible DT schema. Note the subschema is defined as having two compatibles: 'baikal,bt1-int-rom' and 'mtd-rom'. The former string is listed in the enumeration for the sake of maintainability in case if some other vendor-specific MTD Physmap ROM is added. Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/mtd/mtd-physmap.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
index a9ec3ca002c7..b1e75623f5a9 100644
--- a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
+++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
@@ -56,6 +56,10 @@ properties:
- cypress,cy7c1019dv33-10zsxi
- arm,vexpress-psram
- const: mtd-ram
+ - items:
+ - enum:
+ - baikal,bt1-int-rom
+ - const: mtd-rom
- enum:
- cfi-flash
- jedec-flash