On Wed, Sep 17, 2025 at 03:27:07PM +0800, Haibo Chen wrote:
> 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>
> drivers/spi/spi-nxp-fspi.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c
> index db4b92490de957580c6298baeb8b68a310c23615..a1c9ad03379682dc1fc2908fbd83e1ae8e91588f 100644
> --- a/drivers/spi/spi-nxp-fspi.c
> +++ b/drivers/spi/spi-nxp-fspi.c
> @@ -767,6 +767,8 @@ static void nxp_fspi_select_mem(struct nxp_fspi *f, struct spi_device *spi,
> */
> if (rate > 100000000)
> nxp_fspi_dll_calibration(f);
> + else
> + nxp_fspi_dll_override(f);
>
> f->selected = spi_get_chipselect(spi, 0);
> }
>
> --
> 2.34.1
>