diff options
| author | Carlos Song <carlos.song@nxp.com> | 2026-11-19 18:15:39 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-11-19 17:32:16 +0000 |
| commit | 6008a6e34ca0446739abfff189902af2214cfff1 (patch) | |
| tree | a08e4b440bfff1bacb242409b6f1118d7f9feaab /tools/perf/scripts/python/bin | |
| parent | bb5caf7a2e0b2dae8e8905d32fc376703eabcfc4 (diff) | |
spi: fsl-lpspi: expand FCR TWATER and RXWATER bit fields to 4 bits
The original FCR[TWATER|RXWATER] fields were defined as 3-bit values,
limiting the FIFO watermark to values 0-7. This is sufficient for LPSPI
instances with 8-word FIFOs (like i.MX93) where watermark = FIFO_SIZE/2.
However, platforms like i.MX95 feature 16-word FIFOs requiring watermark
values up to 8, which exceeds the 3-bit field capacity. Expands both
TXWATER and RXWATER fields from 3 bits to 4 bits to support larger FIFO
configurations across various IMX platforms while maintaining backward
compatibility with existing 8-word FIFO implementations.
Fixes: 732b903ea3e2 ("spi: spi-fsl-lpspi: fsl_lpspi_set_watermark(): use FIELD_PREP() to encode FIFO Control register")
Signed-off-by: Carlos Song <carlos.song@nxp.com>
Reviewed-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20261119101539.2536367-1-carlos.song@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
