Skip to content

spi: Add support for Amlogic Meson SPIFC

Beniamino Galvani linux-arm-kernel linux-devicetree linux-spi lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v24 patches 4 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4spi: core: Add spi_transfer_is_last() helperinclude/linux/spi/spi.h+6 -01 reply
2/4spi: meson: Add device tree bindings documentation for SPIFCDocumentation/devicetree/bindings/spi/spi-meson.txt+22 -01 reply
3/4spi: meson: Add support for Amlogic Meson SPIFCdrivers/spi/Kconfig drivers/spi/Makefile drivers/spi/spi-meson-spifc.c+470 -01 reply
4/4ARM: dts: meson: add node for SPIFCarch/arm/boot/dts/meson.dtsi+9 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchMark Brown
1/4
2/4
3/4
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] spi: Add support for Amlogic Meson SPIFC

Hi,

this patchset adds a driver for the SPIFC (SPI flash controller) available in Amlogic Meson6 and Meson8 SoCs. The driver has been tested on a Meson8 based device to communicate with a Macronix mx25l1606e serial flash.

Changes since v2 [ https://lkml.org/lkml/2014/11/17/669 ]:
- introduce spi_transfer_is_last() helper instead of using a flag in spi_transfer structure
- rebase DTS patch on arm-soc

Changes since v1 [ https://lkml.org/lkml/2014/11/9/35 ]:
- decrease busy wait timeout
- remove check on xfer->speed_hz value in meson_spifc_transfer_one()
- implement transfer_one() instead of transfer_one_message()
- remove useless memset of devdata
- use fixed regmap config
- implement PM operations
- don't set master->bus_num
- allow modular build of the driver

Beniamino Galvani (4):
spi: core: Add spi_transfer_is_last() helper
spi: meson: Add device tree bindings documentation for SPIFC
spi: meson: Add support for Amlogic Meson SPIFC
ARM: dts: meson: add node for SPIFC

 .../devicetree/bindings/spi/spi-meson.txt          |  22 +
 arch/arm/boot/dts/meson.dtsi                       |   9 +
 drivers/spi/Kconfig                                |   7 +
 drivers/spi/Makefile                               |   1 +
 drivers/spi/spi-meson-spifc.c                      | 462 +++++++++++++++++++++
 include/linux/spi/spi.h                            |   6 +
 6 files changed, 507 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-meson.txt
 create mode 100644 drivers/spi/spi-meson-spifc.c
Signature · 1 line
1.9.1