]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
spi: dt-bindings: snps,dw-abp-ssi: Allow up to 16 chip-selects
authorRob Herring (Arm) <robh@kernel.org>
Mon, 15 Dec 2025 23:03:22 +0000 (17:03 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 17 Dec 2025 12:01:16 +0000 (12:01 +0000)
At least the Microchip Sparx5 supports up to 16 chip-selects, so
increase the maximum. The pattern for the child unit-address was
unconstrained, so update it to match the maximum number of
chip-selects.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251215230323.3634112-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml

index 5c87fc8a845dfe8e6af3fd1cd9a52959cb7959df..81838577cf9cdb3e0228d0803d14e2e945389bcd 100644 (file)
@@ -121,7 +121,7 @@ properties:
   num-cs:
     default: 4
     minimum: 1
-    maximum: 4
+    maximum: 16
 
   dmas:
     items:
@@ -153,14 +153,14 @@ properties:
       provides an interface to override the native DWC SSI CS control.
 
 patternProperties:
-  "@[0-9a-f]+$":
+  "@[0-9a-f]$":
     type: object
     additionalProperties: true
 
     properties:
       reg:
         minimum: 0
-        maximum: 3
+        maximum: 0xf
 
 unevaluatedProperties: false