spi: Few cleanups while looking at num-cs

Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> says:

Few minor cleanups for DT bindings and Andes driver.

Patches do not have inter-dependencies.

Link: https://patch.msgid.link/20260804-spi-num-cs-v1-0-4ccb13dcc7b0@oss.qualcomm.com
This commit is contained in:
Mark Brown 2026-08-04 18:51:38 +01:00
commit 2766401a92
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
5 changed files with 0 additions and 10 deletions

View File

@ -24,10 +24,6 @@ properties:
clocks:
maxItems: 1
num-cs:
description: Number of chip selects supported
maxItems: 1
dmas:
items:
- description: Transmit FIFO DMA channel

View File

@ -37,7 +37,6 @@ properties:
num-cs:
description: |
Number of chip selects used.
$ref: /schemas/types.yaml#/definitions/uint32
minimum: 1
maximum: 4
default: 4

View File

@ -28,9 +28,6 @@ properties:
clocks:
maxItems: 1
num-cs:
maxItems: 1
required:
- compatible
- reg

View File

@ -43,7 +43,6 @@ properties:
Number of chip selects used. If a decoder is used,
this will be the number of chip selects after the
decoder.
$ref: /schemas/types.yaml#/definitions/uint32
minimum: 1
maximum: 4
default: 4

View File

@ -638,7 +638,6 @@ static int atcspi_resume(struct device *dev)
static DEFINE_SIMPLE_DEV_PM_OPS(atcspi_pm_ops, atcspi_suspend, atcspi_resume);
static const struct of_device_id atcspi_of_match[] = {
{ .compatible = "andestech,qilai-spi", },
{ .compatible = "andestech,ae350-spi", },
{ /* sentinel */ }
};