summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2026-02-25 19:24:44 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-03-11 18:26:44 +0300
commitc21cac8cdcdcb7940c0aab85246ffbb649b73937 (patch)
tree9f6fe489bc30b4e5a66ff25f7576fac08f29ce96
parentdb9a26765010c55712d8cff32ea9d99732407c55 (diff)
downloadlinux-c21cac8cdcdcb7940c0aab85246ffbb649b73937.tar.xz
dt-bindings: mtd: st,spear600-smi: #address/size-cells is mandatory
These properties must be set because they overwrite the default values, especially #size-cells which is 0 for most controllers and is 'const: 1' here. Fixes: 68cd8ef48452 ("dt-bindings: mtd: st,spear600-smi: convert to DT schema") Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
-rw-r--r--Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml b/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml
index d065df269657..62d4359908f2 100644
--- a/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml
+++ b/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml
@@ -60,6 +60,8 @@ required:
- compatible
- reg
- clock-rate
+ - "#address-cells"
+ - "#size-cells"
unevaluatedProperties: false