Skip to content

spi/bcm63xx: cleanup and decouple from arch code

Jonas Gorski linux-mips linux-spi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 1 replyIn review

Changes in v2 from the cover letter

* Use device name instead of register size for identifying core version.
* Since we now touch arch/mips, drop the rest as well.
* Fix big endian detection.
* Reorder the patches so the move of the register definitions is the last step.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6spi/bcm63xx: remove unused rx_tail variabledrivers/spi/spi-bcm63xx.c+0 -10 replies
2/6spi/bcm63xx: always use a fixed number of CSarch/mips/bcm63xx/dev-spi.c arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h drivers/spi/spi-bcm63xx.c+3 -30 replies
3/6spi/bcm63xx: hardcode busnum to 0arch/mips/bcm63xx/dev-spi.c arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h drivers/spi/spi-bcm63xx.c+3 -50 replies
4/6spi/bcm63xx: replace custom io accessors with standard onesdrivers/spi/spi-bcm63xx.c+12 -40 replies
5/6spi/bcm63xx: move message control word description to register offsetsarch/mips/bcm63xx/dev-spi.c arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h drivers/spi/spi-bcm63xx.c+12 -260 replies
6/6spi/bcm63xx: move register definitions into the driverarch/mips/bcm63xx/dev-spi.c arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h drivers/spi/Kconfig +1 more+181 -941 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/6] spi/bcm63xx: cleanup and decouple from arch code

This patchset decouples spi-bcm63xx from any arch code to allow building it for more than MIPS/BCM63XX as well as allow compile testing it on any arch/platform.

Since the main target of this patch is the spi driver, it should probably go through the spi tree.

Changes v1 -> v2:

* Use device name instead of register size for identifying core version.
* Since we now touch arch/mips, drop the rest as well.
* Fix big endian detection.
* Reorder the patches so the move of the register definitions is the last step.

Jonas Gorski (6):
spi/bcm63xx: remove unused rx_tail variable
spi/bcm63xx: always use a fixed number of CS
spi/bcm63xx: hardcode busnum to 0
spi/bcm63xx: replace custom io accessors with standard ones spi/bcm63xx: move message control word description to register offsets spi/bcm63xx: move register definitions into the driver

 arch/mips/bcm63xx/dev-spi.c                        |  42 +----
 .../include/asm/mach-bcm63xx/bcm63xx_dev_spi.h     |  44 -----
 drivers/spi/Kconfig                                |   2 +-
 drivers/spi/spi-bcm63xx.c                          | 210 ++++++++++++++++++---
 4 files changed, 188 insertions(+), 110 deletions(-)
Signature · 5 lines
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html