[PATCH v3 01/17] spi: dt-bindings: cdns,qspi-nor: Remove duplicated constraints
From: Miquel Raynal (Schneider Electric)
Date: Wed Jan 21 2026 - 12:05:16 EST
The if/then/else block sets the restrictions in all cases for
resets/reset-names, very much like it does for other properties as well
such as cdns,fifo-depth. Drop the constraints from the place where these
constraints are simply ignored.
Signed-off-by: Miquel Raynal (Schneider Electric) <miquel.raynal@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
index 53a52fb8b819..b85dba351822 100644
--- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
+++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
@@ -136,15 +136,8 @@ properties:
power-domains:
maxItems: 1
- resets:
- minItems: 2
- maxItems: 3
-
- reset-names:
- minItems: 2
- maxItems: 3
- items:
- enum: [ qspi, qspi-ocp, rstc_ref ]
+ resets: true
+ reset-names: true
patternProperties:
"^flash@[0-9a-f]+$":
--
2.51.1