spi: dt-bindings: cdns,qspi-nor: make cdns,fifo-depth optional
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 10 Apr 2024 09:29:06 +0000 (11:29 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 10 Apr 2024 17:49:16 +0000 (18:49 +0100)
commiteb4fdb4bf46f875eac3c093f7ff43a223985f7b8
tree5b0858d4fc4490a132263b6493e542eba1f0f4e4
parent52826aee484b3ebb6ed94c1ae89c0944110ed8b1
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>
Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml