[PATCH 0/7] atmel-spi: Allow using more than 4 GPIOs as CS

From: Gregory CLEMENT
Date: Thu Oct 17 2019 - 10:20:24 EST


Hello,

the main purpose of this series is allowing to use more than 4 GPIOs
as CS. But while doing it, I also clean-up the code and the comments
to match the actual support of the hardware.

Thanks to this series, it is now more clear to see what can be done
with CS GPIO and native CS. It is also possible to mix native and GPIO
CS as expected by the SPI binding.

In the end even managment of the specific use case for CS0 on
AT91RM9200 has been simplified.

Gregory

Gregory CLEMENT (7):
spi: atmel: Remove and fix erroneous comments
spi: atmel: Fix CS high support
spi: atmel: Configure GPIO per CS instead of by controller
spi: atmel: Remove useless private field
spi: atmel: Remove platform data support
spi: atmel: Improve and fix GPIO CS usage
spi: atmel: Improve CS0 case support on AT91RM9200

drivers/spi/Kconfig | 1 +
drivers/spi/spi-atmel.c | 154 ++++++++++++++++++++++++----------------
2 files changed, 92 insertions(+), 63 deletions(-)

--
2.23.0