spi: bcm63xx-hsspi: Disable spi mem dual io read op support
authorWilliam Zhang <william.zhang@broadcom.com>
Thu, 9 Feb 2023 20:02:44 +0000 (12:02 -0800)
committerMark Brown <broonie@kernel.org>
Fri, 10 Feb 2023 21:36:44 +0000 (21:36 +0000)
commitc6182a187b33cd00a763ac2490c0f5210b2c4742
tree300092ce2b2bc8d82a9b9be15a283368be594a17
parent76a85704cb917e3b25e00f02d5fd46e4e0a9077d
spi: bcm63xx-hsspi: Disable spi mem dual io read op support

In general the controller supports SPI dual mode operation but the
particular SPI flash dual io read op switches from single mode in cmd
phase to dual mode in address and data phase. This is not compatible
with prepend operation where cmd and address are sent out through the
prepend buffer and they must use same the number of io pins.

This patch disables these SPI flash dual io read ops through the mem_ops
supports_op interface. This makes sure the SPI flash driver selects the
compatible read ops at run time.

Signed-off-by: William Zhang <william.zhang@broadcom.com>
Link: https://lore.kernel.org/r/20230209200246.141520-14-william.zhang@broadcom.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm63xx-hsspi.c