Skip to content

Commit c3357e4

Browse files
committed
spi: spi-nxp-fspi: set back to dll override mode when clock rate < 100MHz
JIRA: https://issues.redhat.com/browse/RHEL-104570 commit a9888b3 Author: Haibo Chen <haibo.chen@nxp.com> Date: Wed Sep 17 15:27:07 2025 +0800 spi: spi-nxp-fspi: set back to dll override mode when clock rate < 100MHz Preparation of supportting DTR mode. In nor suspend, driver will disable DTR mode, and enable DTR mode back in nor resume. This require the flexspi driver has the ability to set back to dll override mode in STR mode when clock rate < 100MHz. Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20250917-flexspi-ddr-v2-2-bb9fe2a01889@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Mattijs Korpershoek <mkorpershoek@redhat.com>
1 parent 6f3c1d4 commit c3357e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/spi/spi-nxp-fspi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,8 @@ static void nxp_fspi_select_mem(struct nxp_fspi *f, struct spi_device *spi,
767767
*/
768768
if (rate > 100000000)
769769
nxp_fspi_dll_calibration(f);
770+
else
771+
nxp_fspi_dll_override(f);
770772

771773
f->selected = spi_get_chipselect(spi, 0);
772774
}

0 commit comments

Comments
 (0)