linux_dsm_epyc7002/drivers/mtd/spi-nor
Allen Xu cacbef40aa mtd: spi-nor: fsl-quadspi: i.MX6SX: fixed the random QSPI access failed issue
We found there is a low probability(5%) QSPI access timeout issue,
usually it happened on kernel boot stage, the first time kernel tried to
access QSPI chip. The READ_ID command was sent but not executed,
consequently the probe function failed.

The root cause is that the divider is not glitchless in i.MX6SX chip.
If qspi clock enabled then change clock frequency by call clk_set_rate,
there will be glitch at low possiblity rate and pass to qspi controller.
The controler will be hang by this glitch.

Based on the new clock flag(CLK_SET_RATE_GATE) and new framework, we
need to change the approach of seting clock rate.
1. Disable clock.
2. call clk_set_rate.
3. Enable clock again.

Signed-off-by: Han Xu <han.xu@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-08-06 10:07:43 -07:00
..
fsl-quadspi.c mtd: spi-nor: fsl-quadspi: i.MX6SX: fixed the random QSPI access failed issue 2015-08-06 10:07:43 -07:00
Kconfig mtd: spi-nor: add Kconfig option to disable 4K sectors 2014-09-28 14:14:52 -07:00
Makefile mtd: spi-nor: shorten Kconfig naming 2014-04-14 11:23:01 -07:00
spi-nor.c mtd: m25p80: allow arbitrary OF matching for "jedec,spi-nor" 2015-07-21 09:33:42 -07:00