spi: spi-fsl-dspi: Enable modified transfer protocol on S32G
authorAndra-Teodora Ilie <andra.ilie@nxp.com>
Thu, 22 May 2025 14:51:40 +0000 (15:51 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 8 Jun 2025 22:35:36 +0000 (23:35 +0100)
commit0cb9ca1187b311db21288a79ec7b98121f730354
tree6c50f7a26801b057cf3400312cdfccc57b7bed2f
parentc5412ec5f687732f9722bd0f94f9632ad78f4c52
spi: spi-fsl-dspi: Enable modified transfer protocol on S32G

S32G supports modified transfer protocol where both host and target
devices sample later in the SCK period than in Classic SPI mode to allow
the logic to tolerate more delays in device pads and board traces. Set
MTFE bit in MCR register for frequencies higher than 25MHz.

Signed-off-by: Andra-Teodora Ilie <andra.ilie@nxp.com>
Signed-off-by: Bogdan-Gabriel Roman <bogdan-gabriel.roman@nxp.com>
Signed-off-by: Larisa Grigore <larisa.grigore@nxp.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Link: https://patch.msgid.link/20250522-james-nxp-spi-v2-11-bea884630cfb@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c