Skip to content

Commit a9888b3

Browse files
BoughChenbroonie
authored andcommitted
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>
1 parent 614180a commit a9888b3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)