1

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>
This commit is contained in:
Théo Lebrun 2024-04-10 11:29:06 +02:00 committed by Mark Brown
parent 52826aee48
commit eb4fdb4bf4
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -146,7 +146,6 @@ required:
- reg
- interrupts
- clocks
- cdns,fifo-depth
- cdns,fifo-width
- cdns,trigger-address
- '#address-cells'