Re: [PATCH] spi: zynqmp_gqspi: Fix write issue at low frequencies

2021-10-25 Thread Michal Simek
On 10/19/21 16:13, Ashok Reddy Soma wrote: With current implementation we are seeing write issues at low frequencies below 15Mhz. Make below changes to fix the issue. 1. Remove dummy genfifo entry in zynqmp_qspi_chipselect() which was incorrectly added in the past 2. Enable and poll for

[PATCH] spi: zynqmp_gqspi: Fix write issue at low frequencies

2021-10-19 Thread Ashok Reddy Soma
With current implementation we are seeing write issues at low frequencies below 15Mhz. Make below changes to fix the issue. 1. Remove dummy genfifo entry in zynqmp_qspi_chipselect() which was incorrectly added in the past 2. Enable and poll for TX_FIFO_Empty after Tx data is filled in FIFO in

Re: [PATCH] spi: zynqmp_gqspi: Fix write issue

2021-05-26 Thread Michal Simek
On 5/25/21 2:36 PM, Ashok Reddy Soma wrote: > Enable manual start in zynqmp_qspi_fill_gen_fifo(). > Also enable GQSPI_IXR_GFNFULL_MASK and check for it instead of > GQSPI_IXR_GFEMTY_MASK. > > Add dummy write to genfifo register in chipselect. > > Signed-off-by: Ashok Reddy Soma > --- > > dr

[PATCH] spi: zynqmp_gqspi: Fix write issue

2021-05-25 Thread Ashok Reddy Soma
Enable manual start in zynqmp_qspi_fill_gen_fifo(). Also enable GQSPI_IXR_GFNFULL_MASK and check for it instead of GQSPI_IXR_GFEMTY_MASK. Add dummy write to genfifo register in chipselect. Signed-off-by: Ashok Reddy Soma --- drivers/spi/zynqmp_gqspi.c | 18 +- 1 file changed, 1