Skip to content

Commit 1ab09f1

Browse files
Haibo Chenbroonie
authored andcommitted
spi: spi-nxp-fspi: correct the comment for the DLL config
Current DLL config is just to use the default setting, this means enable the DLL override mode, and use 1 fixed delay cell in the DLL delay chain, not means "reset" the DLL, so correct this to avoid confuse. Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Link: https://lore.kernel.org/r/20230322090451.3179431-1-haibo.chen@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 103c6a3 commit 1ab09f1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/spi/spi-nxp-fspi.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,11 @@ static int nxp_fspi_default_setup(struct nxp_fspi *f)
997997
/* Disable the module */
998998
fspi_writel(f, FSPI_MCR0_MDIS, base + FSPI_MCR0);
999999

1000-
/* Reset the DLL register to default value */
1000+
/*
1001+
* Config the DLL register to default value, enable the slave clock delay
1002+
* line delay cell override mode, and use 1 fixed delay cell in DLL delay
1003+
* chain, this is the suggested setting when clock rate < 100MHz.
1004+
*/
10011005
fspi_writel(f, FSPI_DLLACR_OVRDEN, base + FSPI_DLLACR);
10021006
fspi_writel(f, FSPI_DLLBCR_OVRDEN, base + FSPI_DLLBCR);
10031007

0 commit comments

Comments
 (0)