Re: [PATCH v3 1/2] dt-bindings: spi: nuvoton,ma35d1-qspi: Allow additional GPIO chip selects

From
Krzysztof Kozlowski <krzk@kernel.org>
Date
2026-08-04 07:05:32
Also in
linux-devicetree, linux-spi, lkml
Reply to
Chi-Wen Weng, 2026-08-03
On Mon, Aug 03, 2026 at 03:49:12PM +0800, Chi-Wen Weng wrote:
quoted hunk ↗ jump to hunk
From: Chi-Wen Weng <redacted>

The MA35D1 QSPI controller provides two native chip selects, but the
generic SPI controller binding defines num-cs as the total number of
native and GPIO-based chip selects.

Remove the maximum value of two from num-cs so that board device trees
can describe additional GPIO chip selects while retaining two as the
default chip-select count.

Signed-off-by: Chi-Wen Weng <redacted>
---
 Documentation/devicetree/bindings/spi/nuvoton,ma35d1-qspi.yaml | 1 -
 1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spi/nuvoton,ma35d1-qspi.yaml b/Documentation/devicetree/bindings/spi/nuvoton,ma35d1-qspi.yaml
index 377ccf4fb224..f837367e6d5f 100644
--- a/Documentation/devicetree/bindings/spi/nuvoton,ma35d1-qspi.yaml
+++ b/Documentation/devicetree/bindings/spi/nuvoton,ma35d1-qspi.yaml
@@ -30,7 +30,6 @@ properties:
 
   num-cs:
     minimum: 1
-    maximum: 2
     default: 2
Isn't num-cs the number of native chip selects?

Best regards,
Krzysztof

Thread (14 messages) 14 messages, 3 authors, last reply 2026-08-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help