mbox series

[v5,0/7] spi: dw: Add support for Intel Keem Bay SPI

Message ID 20200505130618.554-1-wan.ahmad.zainie.wan.mohamad@intel.com
Headers show
Series spi: dw: Add support for Intel Keem Bay SPI | expand

Message

Wan Ahmad Zainie May 5, 2020, 1:06 p.m. UTC
This patchset adds support for DesignWare DWC_ssi. This soft IP
is an AMBA version 2.0-compliant AHB slave device. Existing driver
already supports the older APB version.

Intel Keem Bay SPI controller is using this IP. This patchset is
tested on Keem Bay evaluation module board.

Changes since v4:
- Rebased to latest linux-next, since v4 does not apply cleanly.

Changes since v3:
- DT changes for feature addition is done on snps,dw-apb-ssi.txt.
- And then convert the updated snps,dw-apb-ssi.txt to DT schema format.

Changes since v2:
- Rebased to v5.7-rc4.
- Change the order of the patches i.e. dt-bindings patches go last.

Changes since v1:
- Rework the third patch based on Rob's feedback.


Wan Ahmad Zainie (7):
  spi: dw: Fix typo in few registers name
  spi: dw: Add update_cr0() callback to update CTRLR0
  spi: dw: Add support for DesignWare DWC_ssi
  dt-bindings: spi: dw-apb-ssi: Add compatible string for DesignWare
    DWC_ssi
  spi: dw: Add support for Intel Keem Bay SPI
  dt-bindings: spi: dw-apb-ssi: Add Intel Keem Bay support
  dt-bindings: spi: dw-apb-ssi: Convert bindings to json-schema

 .../bindings/spi/snps,dw-apb-ssi.txt          | 41 ----------
 .../bindings/spi/snps,dw-apb-ssi.yaml         | 72 +++++++++++++++++
 drivers/spi/spi-dw-mid.c                      |  4 +
 drivers/spi/spi-dw-mmio.c                     | 57 ++++++++++++-
 drivers/spi/spi-dw.c                          | 80 +++++++++++++++----
 drivers/spi/spi-dw.h                          | 25 +++++-
 6 files changed, 214 insertions(+), 65 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt
 create mode 100644 Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml