spi: dt-bindings: fsl-qspi: add optional resets

Allow two resets to be defined to support the SpacemiT K1 SoC QSPI IP.
Move the allOf block down, below the required section.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Alex Elder <elder@riscstar.com>
Link: https://patch.msgid.link/20251027133008.360237-3-elder@riscstar.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Alex Elder 2025-10-27 08:30:00 -05:00 committed by Mark Brown
parent bd352547df
commit 873a461414
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 17 additions and 3 deletions

View File

@ -9,9 +9,6 @@ title: Freescale Quad Serial Peripheral Interface (QuadSPI)
maintainers:
- Han Xu <han.xu@nxp.com>
allOf:
- $ref: spi-controller.yaml#
properties:
compatible:
oneOf:
@ -55,6 +52,11 @@ properties:
- const: qspi_en
- const: qspi
resets:
items:
- description: SoC QSPI reset
- description: SoC QSPI bus reset
required:
- compatible
- reg
@ -63,6 +65,18 @@ required:
- clocks
- clock-names
allOf:
- $ref: spi-controller.yaml#
- if:
properties:
compatible:
not:
contains:
const: spacemit,k1-qspi
then:
properties:
resets: false
unevaluatedProperties: false
examples: