spi/bcm63xx: make spi subsystem aware of message size limits
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 20 Feb 2017 10:50:09 +0000 (11:50 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 21 Feb 2017 17:50:50 +0000 (09:50 -0800)
commit0135c03df914f0481c61f097c78d37cece84f330
treec8458f8fe9e9449313d692797250711dca56bead
parent57f22cd29cf1b4ff2aea8505eae2d3ed71ca5de4
spi/bcm63xx: make spi subsystem aware of message size limits

The bcm63xx SPI controller does not allow manual control of the CS
lines and will toggle it automatically before and after sending data,
so we are limited to messages that fit in the FIFO buffer. Since the CS
lines aren't available as GPIOs either, we will need to make slave
drivers aware of this limitation so they can handle them accordingly.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm63xx.c