fsi/fsi-master-gpio: Reduce turnaround clocks
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 May 2018 01:06:39 +0000 (11:06 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 12 Jun 2018 04:04:46 +0000 (14:04 +1000)
commit97a4e5c95bf762ac254209dc4808ee5138ee574e
treeb4bf7fd70cdc3b044e9dabf8c717bb40b84031e5
parentbc1099d2b2519fa0f6c7613d8de398df8438a36b
fsi/fsi-master-gpio: Reduce turnaround clocks

FSI_GPIO_PRIME_SLAVE_CLOCKS is the number of clocks if the
"idle" phase between the end of a response and the beginning
of the next one. It corresponds to tSendDelay in the FSI
specification.

The default value in the slave is 16 clocks. 100 is way overkill
and significantly reduces the driver performance.

This changes it to 20 (which gives the HW a bit of margin still
just in case).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
Tested-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-master-gpio.c