[PATCH v3 0/5] Add support for Intel Thunder Bay SPI controller
From: nandhini . srikandan
Date: Thu Nov 11 2021 - 01:54:33 EST
From: Nandhini Srikandan <nandhini.srikandan@xxxxxxxxx>
Hi,
This patch set adds support for Designware SPI version v1.02a (patch 1,2,3).
This patch also enables support for DW SPI on Intel Thunder Bay (patch 4,5).
Patch 1: DW SPI DT bindings for Slave Select Toggle Enable (SSTE).
Patch 2: Adds SSTE support for Designware SPI controller.
Patch 3: Adds master mode support for Designware SPI controller v1.02a.
Patch 4: DW SPI DT bindings for Intel Thunder Bay SoC.
Patch 5: Adds support for Designware SPI on Intel Thunderbay SoC.
The driver is tested on Keem Bay and Thunder Bay evaluation board
Summary:
Changes from v2:
1) SSTE support made using dt and created seperate patches.
2) SPI controller master mode selection made common to all DW SPI controllers.
3) Using a common init function for both keem bay and thunder bay.
Changes from v1:
1) Designware CR0 specific macros are named in a generic way.
2) SPI CAP macros are named in generic way rather than naming project specific.
3) SPI KEEM BAY specific macros are replaced by generic macros.
4) Resued the existing SPI deassert API instead of adding another reset
Changes in patches:
Patch 1 and Patch 2
Changes from v2/v1:
1) Patch is newly introduced in v3 to support SSTE via DTS
Patch 3:
Changes from v2/v1:
1)Newly introduced in v3 to make master mode selection (v1.02a) as seperate patch
Patch 4:
Changes from v2/v1:
1) No change in this patch.
Patch 5:
Changes from v2/v1:
1) Removed SSTE support from this patch and moved to Patch 2.
2) Removed master mode selection and moved to Patch 3.
3) Init function made common for Keem Bay and Thunder Bay.
Thanks & Regards,
Nandhini
Nandhini Srikandan (5):
dt-bindings: spi: Add SSTE support for DWC SSI controller
spi: dw: Add SSTE support for DWC SSI controller
spi: dw: Add support for master mode selection for DWC SSI controller
dt-bindings: spi: Add bindings for Intel Thunder Bay SoC
spi: dw: Add support for Intel Thunder Bay SPI controller
.../devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 8 ++++++++
drivers/spi/spi-dw-core.c | 15 +++++++++++++--
drivers/spi/spi-dw-mmio.c | 9 +++++----
drivers/spi/spi-dw.h | 6 ++++--
4 files changed, 30 insertions(+), 8 deletions(-)
--
2.17.1