Skip to content

Commit 8d55a90

Browse files
Zhenhua Huangmiquelraynal
authored andcommitted
dt-bindings: mtd: avoid automatically select from mtd.yaml
The mtd binding is always $ref'ed by other bindings, default selector should be from other binding files which ref'ed it. Now, "$nodename" in mtd.yaml turns into a "select" automatically such that a few binding check issues reported because it conflicts with sram devices(eg, qcom,imem.yaml, rules in folder sram/*) To avoid the automatically created "select" in mtd.yaml, adding: select: false Suggested-by: Bjorn Andersson <[email protected]> Fixes: 7bdc671 ("dt-bindings: mtd: physmap: Reuse the generic definitions") Signed-off-by: Zhenhua Huang <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 6613476 commit 8d55a90

File tree

1 file changed

+2
-0
lines changed
  • Documentation/devicetree/bindings/mtd

1 file changed

+2
-0
lines changed

Documentation/devicetree/bindings/mtd/mtd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ maintainers:
1010
- Miquel Raynal <[email protected]>
1111
- Richard Weinberger <[email protected]>
1212

13+
select: false
14+
1315
properties:
1416
$nodename:
1517
pattern: "^(flash|.*sram|nand)(@.*)?$"

0 commit comments

Comments
 (0)