spi: zynqmp_gqspi: Switch genfifo start to manual mode
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 20 Aug 2021 13:43:16 +0000 (07:43 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 3 Sep 2021 07:14:58 +0000 (09:14 +0200)
commit72022a5b2e142d4696964ffd354a01b67eb4fa72
treea4fcb5f367e5802d196a89d5598e4dd756fd8c6a
parentacbbd98313e83947eec23f3e23643825db3a2526
spi: zynqmp_gqspi: Switch genfifo start to manual mode

Current implementation uses auto mode for starting generic FIFO.
The recommendation from IP designers is to use manual mode, hence
change to manual start mode.

In fill genfifo first write to genfio and then trigger manual start.

Also enable and check for genfifo empty interrupt status in place of
genfifo not full interrupt.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/zynqmp_gqspi.c