Skip to content

sunxi spi fixes

Michal Suchanek linux-arm-kernel linux-devicetree linux-spi lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 of 13 patches 23 repliesIn review
  2. v15 patches 28 repliesSuperseded

12 of 13 patches are in this archive. The cover letter announces 13.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13spi: sunxi: set maximum and minimum speed of SPI masterdrivers/spi/spi-sun4i.c drivers/spi/spi-sun6i.c+4 -01 reply
2/13spi: sunxi: fix transfer timeoutdrivers/spi/spi-sun4i.c drivers/spi/spi-sun6i.c+18 -21 reply
3/13spi: sun4i: fix FIFO limitdrivers/spi/spi-sun4i.c+10 -31 reply
4/13spi: sunxi: expose maximum transfer size limitdrivers/spi/spi-sun4i.c drivers/spi/spi-sun6i.c+11 -01 reply
5/13spi: sun6i: update CS handling from spi-sun4idrivers/spi/spi-sun6i.c+19 -30 replies
6/13spi: sunxi: rename sun4i,sun6i -> sunxidrivers/spi/spi-sun4i.c drivers/spi/spi-sun6i.c+279 -2790 replies
7/13spi: sunxi: rename constants to match between sun4i and sun6idrivers/spi/spi-sun4i.c drivers/spi/spi-sun6i.c+41 -412 replies
8/13spi: sunxi: synchronize whitespace, comments, structdrivers/spi/spi-sun4i.c drivers/spi/spi-sun6i.c+9 -100 replies
9/13spi: sunxi: use register mapdrivers/spi/spi-sun4i.c drivers/spi/spi-sun6i.c+322 -1480 replies
10/13spi: sunxi: merge sun4i and sun6i SPI driverdrivers/spi/Kconfig drivers/spi/Makefile drivers/spi/spi-sun4i.c +1 more+143 -6207 replies
11/13dt: spi: sun4i: merge sun4i and sun6i binding docDocumentation/devicetree/bindings/spi/spi-sun4i.txt Documentation/devicetree/bindings/spi/spi-sun6i.txt+11 -343 replies
12/13spi: sunxi: remove CONFIG_SPI_SUN6Iarch/arm/configs/multi_v7_defconfig arch/arm/configs/sunxi_defconfig drivers/spi/Kconfig+0 -80 replies

Reviews trailers per patch

4 of 12 patches have a Reviewed-by or Acked-by.

PatchMaxime Ripard
1/13A-b
2/13A-b
3/13A-b
4/13A-b
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13

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 00/13] sunxi spi fixes

Hello,

This is update of the sunxi spi patches that should give full-featured SPI driver.

First three patches fix issues with the current driver and can be of use for stable kernels so adding cc for those.

I merged the sun4i and sun6i driver because there several issues that need to be fixed in both separately and they are even out of sync wrt some fixes. I guess some of the merge patches can be squashed.

I tested this with A10s Olinuxino Micro. I have no sun6i device so I cannot tell if that side was broken by this patchset - especially the last patch that adds DMA was afaik never tested on sun6i.

Emilio L?pez (1):
spi: sun4i: add DMA support

Michal Suchanek (12):
spi: sunxi: set maximum and minimum speed of SPI master
spi: sunxi: fix transfer timeout
spi: sun4i: fix FIFO limit
spi: sunxi: expose maximum transfer size limit
spi: sun6i: update CS handling from spi-sun4i
spi: sunxi: rename sun4i,sun6i -> sunxi
spi: sunxi: rename constants to match between sun4i and sun6i
spi: sunxi: synchronize whitespace, comments, struct
spi: sunxi: use register map
spi: sunxi: merge sun4i and sun6i SPI driver
dt: spi: sun4i: merge sun4i and sun6i binding doc
spi: sunxi: remove CONFIG_SPI_SUN6I

 .../devicetree/bindings/spi/spi-sun4i.txt          |  21 +-
 .../devicetree/bindings/spi/spi-sun6i.txt          |  24 -
 arch/arm/configs/multi_v7_defconfig                |   1 -
 arch/arm/configs/sunxi_defconfig                   |   1 -
 drivers/spi/Kconfig                                |  10 +-
 drivers/spi/Makefile                               |   1 -
 drivers/spi/spi-sun4i.c                            | 728 +++++++++++++++++----
 drivers/spi/spi-sun6i.c                            | 482 --------------
 8 files changed, 600 insertions(+), 668 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/spi/spi-sun6i.txt
 delete mode 100644 drivers/spi/spi-sun6i.c
Signature · 1 line
2.8.1