mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
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:
commit
2766401a92
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -28,9 +28,6 @@ properties:
|
|||
clocks:
|
||||
maxItems: 1
|
||||
|
||||
num-cs:
|
||||
maxItems: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 */ }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user