atmel-spi: Allow using more than 4 GPIOs as CS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | spi: atmel: Remove and fix erroneous commentsdrivers/ | +3 | 1 reply | |
| 2/7 | spi: atmel: Fix CS high supportdrivers/ | +2 | 1 reply | |
| 3/7 | spi: atmel: Configure GPIO per CS instead of by controllerdrivers/ | +8 | 1 reply | |
| 4/7 | spi: atmel: Remove useless private fielddrivers/ | +6 | 1 reply | |
| 5/7 | spi: atmel: Remove platform data supportdrivers/ drivers/ | +3 | 1 reply | |
| 6/7 | spi: atmel: Improve and fix GPIO CS usagedrivers/ | +66 | 1 reply | |
| 7/7 | spi: atmel: Improve CS0 case support on AT91RM9200drivers/ | +12 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] atmel-spi: Allow using more than 4 GPIOs as CS
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(-)
Signature · 1 line
2.23.0