[U-Boot] [PATCH v2 0/3] mips: spi: mscc: Add fast bitbang SPI driver

Lars Povlsen lars.povlsen at microchip.com
Mon Jan 7 13:28:35 UTC 2019


These 3 patches add an optimized SPI bitbang driver for MSCC SOCs that
does not sport the designware SPI hardware controller.

The driver more than doubles the performance for bulk SPI transfers.

This is based off the u-boot-mips/next repository.

v2 changes:
 - Moved lowlevel delay stuff into arch common header file
 - remove superfluous license and DECLARE_GLOBAL_DATA_PTR
 - Moved defconfig changes to DT patch
 - Removed obsoleted gpio-mscc-bitbang-spi driver

Lars Povlsen (3):
  mips: spi: mscc: Add fast bitbang SPI driver
  mips: mscc: DT: Update luton device tree to use fast SPI driver
  mips: gpio: mscc: Obsoleted gpio-mscc-bitbang-spi.c

 MAINTAINERS                               |   1 +
 arch/mips/dts/mscc,luton.dtsi             |  15 +-
 arch/mips/mach-mscc/include/mach/common.h |  38 ++++
 configs/mscc_luton_defconfig              |   3 +-
 drivers/gpio/Kconfig                      |   7 -
 drivers/gpio/Makefile                     |   1 -
 drivers/gpio/gpio-mscc-bitbang-spi.c      | 122 -----------
 drivers/spi/Kconfig                       |   7 +
 drivers/spi/Makefile                      |   1 +
 drivers/spi/mscc_bb_spi.c                 | 253 ++++++++++++++++++++++
 10 files changed, 304 insertions(+), 144 deletions(-)
 delete mode 100644 drivers/gpio/gpio-mscc-bitbang-spi.c
 create mode 100644 drivers/spi/mscc_bb_spi.c

-- 
2.19.2



More information about the U-Boot mailing list