[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251023175922.528868-3-elder@riscstar.com>
Date: Thu, 23 Oct 2025 12:59:14 -0500
From: Alex Elder <elder@...cstar.com>
To: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
han.xu@....com,
broonie@...nel.org
Cc: dlan@...too.org,
Frank.li@....com,
guodong@...cstar.com,
linux-spi@...r.kernel.org,
imx@...ts.linux.dev,
devicetree@...r.kernel.org,
spacemit@...ts.linux.dev,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 2/9] dt-bindings: spi: fsl-qspi: add optional resets
Allow two resets to be defined to support the SpacemiT K1 SoC QSPI IP.
Signed-off-by: Alex Elder <elder@...cstar.com>
---
v2: - The "reset" property now only applies to spacemit,k1-qspi compatible
.../devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml b/Documentation/devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml
index 5e6aff1bc2ed3..edd3158a6f2e8 100644
--- a/Documentation/devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml
+++ b/Documentation/devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml
@@ -55,6 +55,21 @@ properties:
- const: qspi_en
- const: qspi
+ resets:
+ items:
+ - description: SoC QSPI reset
+ - description: SoC QSPI bus reset
+
+if:
+ properties:
+ compatible:
+ not:
+ contains:
+ const: spacemit,k1-qspi
+then:
+ properties:
+ resets: false
+
required:
- compatible
- reg
--
2.43.0
Powered by blists - more mailing lists