mips: bmips: add HSSPI support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest4 patches 0 repliesNew
- v54 patches 0 repliesSuperseded
- v44 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 4 patches | 0 replies | Superseded | |
| v2 | 4 patches | 0 replies | Superseded | |
| v1 | 4 patches | 0 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dm: spi: add BCM63xx HSSPI driverdrivers/ drivers/ drivers/ | +423 | 0 replies | |
| 2/4 | mips: bmips: add bcm63xx-hsspi driver support for BCM6328arch/ | +24 | 0 replies | |
| 3/4 | mips: bmips: add bcm63xx-hsspi driver support for BCM63268arch/ | +21 | 0 replies | |
| 4/4 | mips: bmips: enable the SPI flash on the Comtrend AR-5387unarch/ configs/ | +20 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass | Daniel Schwierzeck |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | R-b |
| 3/4 | R-b | R-b |
| 4/4 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v6 0/4] mips: bmips: add HSSPI support
BCM63xx HSSPI controller has the same issue as BCM63xx SPI controller: it doesn't allow keeping CS active between transfers.
However, this controller allows changing CS polarities, which is used in the linux upstream driver to manage CS as desired.
v6: Introduce changes suggested by Simon Glass:
- Fix defconfig order.
v5: Introduce changes suggested by Jagan Teki:
- Rename SPI_PP_ macros.
- cs_activate instead of claim_cs.
- deactivate_cs instead of release_cs.
- Use wait_for_bit_be32 instead of infinite loop.
v4: Sync with master.
v3: Switch to CONFIG_BCM63XX_HSSPI and rebase on top of SPI v4.
v2: Introduce changes suggested by Simon Glass:
- Split bcm63xx_hsspi_xfer() into smaller functions.
- Check possible clock errors.
- Check possible reset errors.
- Switch to devfdt_get_addr_size_index().
- Use setbits32_be() for clock gate.
Álvaro Fernández Rojas (4):
dm: spi: add BCM63xx HSSPI driver
mips: bmips: add bcm63xx-hsspi driver support for BCM6328
mips: bmips: add bcm63xx-hsspi driver support for BCM63268
mips: bmips: enable the SPI flash on the Comtrend AR-5387un
arch/mips/dts/brcm,bcm63268.dtsi | 21 ++ arch/mips/dts/brcm,bcm6328.dtsi | 24 ++ arch/mips/dts/comtrend,ar-5387un.dts | 12 + configs/comtrend_ar5387un_ram_defconfig | 8 + drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/bcm63xx_hsspi.c | 414 ++++++++++++++++++++++++++++++++ 7 files changed, 488 insertions(+) create mode 100644 drivers/spi/bcm63xx_hsspi.c
Signature · 1 line
2.11.0