Add driver for spi controller on Marvell OcteonTX2 SOC. This driver supports 1KB data buffer and 4-bit bus width. It also supports ACPI and reads tx(rx)-bus-width which is used to set the SPI mode - DUAL, QUAD, OCTAL. Piyush Malgujar (1): spi: octeontx2: Add ACPI support Suneel Garapati (1): spi: octeontx2: Add support for octeontx2 spi controller drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/spi-octeontx2.c | 467 ++++++++++++++++++++++++++++++++++++ drivers/spi/spi-octeontx2.h | 152 ++++++++++++ 4 files changed, 628 insertions(+) create mode 100644 drivers/spi/spi-octeontx2.c create mode 100644 drivers/spi/spi-octeontx2.h -- 2.17.1