]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence-qspi: Add a small delay before indirect writes
authorPratyush Yadav <p.yadav@ti.com>
Fri, 25 Jun 2021 19:17:08 +0000 (00:47 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 Jun 2021 06:27:10 +0000 (11:57 +0530)
commita6903aa7ea98872ff66424051f85cdf0178c86f8
tree6ddeb563263d9cac5d04581d477b8e4e9be7c5da
parentbd8c8dcd4d6fb1cf726d5a267be5ec33c93f1471
spi: cadence-qspi: Add a small delay before indirect writes

Once the start bit is toggled it takes a small amount of time before it
is internally synchronized. This means we can't start writing during
that part. So add a small delay to allow the bit to be synchronized.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi.h
drivers/spi/cadence_qspi_apb.c