spi: add driver for ar934x spi controller
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 2 repliesIn review
- v32 patches 0 repliesSuperseded
- v22 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 posting 2/2 | 2 patches | 4 replies | Superseded | |
| v1 posting 1/2 | 2 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
1. restore pin state in probe to terminate unfinished SPI transfer done by bootloader.
2. replace clock binding with ath79 pll as this is the actual clock binding used in all SoC supported by this driver.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | spi: add driver for ar934x spi controllerdrivers/ drivers/ drivers/ | +243 | 1 reply | |
| 2/2 | dt-binding: spi: add bindings for spi-ar934xDocumentation/ | +41 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/2] spi: add driver for ar934x spi controller
This controller is a superset of the already supported qca,ar7100-spi. Besides the bit-bang mode in spi-ath79.c, this new controller added a new "shift register" mode, allowing faster spi operations. This mode doesn't need all the bit-bang code in spi-ath79.c and needs a different clock setup, so I decided to write a new driver for it instead of extending current spi-ath79 driver.
Changes since v3:
1. restore pin state in probe to terminate unfinished SPI transfer done by bootloader.
2. replace clock binding with ath79 pll as this is the actual clock binding used in all SoC supported by this driver.
Change since v2:
fix binding documentation check.
Changes since v1:
1. change comment at the beginning to C++ style
2. rename ar934x_spi_transfer_one to ar934x_spi_transfer_one_message
Chuanhong Guo (2):
spi: add driver for ar934x spi controller
dt-binding: spi: add bindings for spi-ar934x
.../bindings/spi/qca,ar934x-spi.yaml | 41 +++ drivers/spi/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/spi-ar934x.c | 235 ++++++++++++++++++ 4 files changed, 284 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml create mode 100644 drivers/spi/spi-ar934x.c
Signature · 1 line
2.24.1