diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2024-02-16 07:05:44 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-05 20:42:49 +0000 |
commit | 80a38bfbbd5965c8bda73b20aa78d308739bbc31 (patch) | |
tree | 0bba3d844745c42723e084da713dbbbfdef64f93 /drivers/spi/spi-s3c64xx.c | |
parent | 0f1a277b3d9be9fff0a0d9c6b63492815ede5eb3 (diff) | |
download | lwn-80a38bfbbd5965c8bda73b20aa78d308739bbc31.tar.gz lwn-80a38bfbbd5965c8bda73b20aa78d308739bbc31.zip |
spi: dt-bindings: introduce FIFO depth properties
There are SPI IPs that can be configured by the integrator with a
specific FIFO depth depending on the system's capabilities. For example,
the samsung USI SPI IP can be configured by the integrator with a TX/RX
FIFO from 8 byte to 256 bytes.
Introduce the ``fifo-depth`` property for such instances of IPs where the
same FIFO depth is used for both RX and TX. Introduce ``rx-fifo-depth``
and ``tx-fifo-depth`` properties for cases where the RX FIFO depth is
different from the TX FIFO depth.
Make the dedicated RX/TX properties dependent on each other and mutual
exclusive with the other.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://msgid.link/r/20240216070555.2483977-2-tudor.ambarus@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-s3c64xx.c')
0 files changed, 0 insertions, 0 deletions