diff options
author | Zhenhua Huang <[email protected]> | 2024-01-10 19:21:45 +0800 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2024-02-05 14:22:39 +0100 |
commit | 8d55a90b2b401e6b5dd289ebbc04dfd9e72ed35f (patch) | |
tree | e2ae62ea49d06082067263808df9f11068a3e293 | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
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: 7bdc671822e9 ("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]
-rw-r--r-- | Documentation/devicetree/bindings/mtd/mtd.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/mtd.yaml b/Documentation/devicetree/bindings/mtd/mtd.yaml index f322290ee516..ee442ecb11cd 100644 --- a/Documentation/devicetree/bindings/mtd/mtd.yaml +++ b/Documentation/devicetree/bindings/mtd/mtd.yaml @@ -10,6 +10,8 @@ maintainers: - Miquel Raynal <[email protected]> - Richard Weinberger <[email protected]> +select: false + properties: $nodename: pattern: "^(flash|.*sram|nand)(@.*)?$" |