linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] spi: dt-bindings: spi-rockchip: restrict num-cs
@ 2024-01-22 22:59 Johan Jonker
  2024-01-23  8:33 ` Krzysztof Kozlowski
  2024-01-23  9:17 ` Luis de Arquer
  0 siblings, 2 replies; 7+ messages in thread
From: Johan Jonker @ 2024-01-22 22:59 UTC (permalink / raw)
  To: broonie
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, heiko, linux-spi,
	devicetree, linux-arm-kernel, linux-rockchip

In the driver spi-rockchip.c max_native_cs is limited to 4 and the
default num-cs property is 1. Restrict num-cs in spi-rockchip.yaml.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 Documentation/devicetree/bindings/spi/spi-rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
index e4941e9212d1..00d555bcbad3 100644
--- a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
@@ -65,6 +65,11 @@ properties:
       - const: tx
       - const: rx

+  num-cs:
+    default: 1
+    minimum: 1
+    maximum: 4
+
   rx-sample-delay-ns:
     default: 0
     description:
--
2.39.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-26 19:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 22:59 [PATCH v1] spi: dt-bindings: spi-rockchip: restrict num-cs Johan Jonker
2024-01-23  8:33 ` Krzysztof Kozlowski
2024-01-23  9:17 ` Luis de Arquer
2024-01-23 10:49   ` Johan Jonker
2024-01-23 13:51     ` Luis de Arquer
2024-01-23 17:45     ` Robin Murphy
2024-01-26 19:23       ` Luis de Arquer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).