aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2024-04-10 11:29:06 +0200
committerMark Brown <broonie@kernel.org>2024-04-10 18:49:16 +0100
commiteb4fdb4bf46f875eac3c093f7ff43a223985f7b8 (patch)
tree5b0858d4fc4490a132263b6493e542eba1f0f4e4
parent52826aee484b3ebb6ed94c1ae89c0944110ed8b1 (diff)
downloadspi-eb4fdb4bf46f875eac3c093f7ff43a223985f7b8.tar.gz
spi: dt-bindings: cdns,qspi-nor: make cdns,fifo-depth optional
Make cdns,fifo-depth devicetree property optional. Value can be detected at runtime. Upper SRAMPARTITION register bits are read-only. Procedure to find FIFO depth is therefore to write 0xFFFFFFFF and read back to get amount of writeable bits. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Link: https://msgid.link/r/20240410-cdns-qspi-mbly-v3-3-7b7053449cf7@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
index 587baf35e4e34..d48ecd6cd5ad8 100644
--- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
+++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
@@ -146,7 +146,6 @@ required:
- reg
- interrupts
- clocks
- - cdns,fifo-depth
- cdns,fifo-width
- cdns,trigger-address
- '#address-cells'