RE: [EXT] Re: [Patch v2] spi: nxp-fspi: Add 1us delay to make controller ready for next transaction

2020-04-26 Thread Kuldeep Singh
> > If you see implementation of " fspi_readl_poll_tout ", it further calls > "readl_poll_timeout" which includes delay of 1us. > > And also please see the difference of "readl_poll_timeout" api > implementation in uboot and Linux. > > This api adds delay in Linux but skips it in uboot. > > Yes,

Re: [EXT] Re: [Patch v2] spi: nxp-fspi: Add 1us delay to make controller ready for next transaction

2020-04-25 Thread Jagan Teki
On Tue, Apr 21, 2020 at 2:56 PM Kuldeep Singh wrote: > > > > > -Original Message- > > From: Jagan Teki > > Sent: Tuesday, April 21, 2020 1:45 PM > > To: Kuldeep Singh > > Cc: U-Boot-Denx > > Subject: [EXT] Re: [Patch v2] spi: nxp-fspi: Ad

RE: [EXT] Re: [Patch v2] spi: nxp-fspi: Add 1us delay to make controller ready for next transaction

2020-04-21 Thread Kuldeep Singh
> -Original Message- > From: Jagan Teki > Sent: Tuesday, April 21, 2020 1:45 PM > To: Kuldeep Singh > Cc: U-Boot-Denx > Subject: [EXT] Re: [Patch v2] spi: nxp-fspi: Add 1us delay to make controller > ready for next transaction > > Caution: EXT Email > &

Re: [Patch v2] spi: nxp-fspi: Add 1us delay to make controller ready for next transaction

2020-04-21 Thread Jagan Teki
On Tue, Apr 21, 2020 at 11:57 AM Kuldeep Singh wrote: > > Board gets reset when performing burst read/write operations. On the > other hand, no such behaviour is observed on small size operations. > > In Linux, readl_poll_timeout API already add delay of 1us which is > skipped in U-boot. Since,

[Patch v2] spi: nxp-fspi: Add 1us delay to make controller ready for next transaction

2020-04-21 Thread Kuldeep Singh
Board gets reset when performing burst read/write operations. On the other hand, no such behaviour is observed on small size operations. In Linux, readl_poll_timeout API already add delay of 1us which is skipped in U-boot. Since, NXP Flexspi U-boot driver is a ported version of Linux driver and