
Am 08.01.19 um 10:38 schrieb Lars Povlsen:
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.
v3 changes:
- Dropped .ofdata_to_platdata support (DT only)
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 | 236 ++++++++++++++++++++++ 10 files changed, 287 insertions(+), 144 deletions(-) delete mode 100644 drivers/gpio/gpio-mscc-bitbang-spi.c create mode 100644 drivers/spi/mscc_bb_spi.c
applied to u-boot-mips/next, thanks.