All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Add Allwinner A31 SPI controller support
@ 2014-01-29 11:10 ` Maxime Ripard
  0 siblings, 0 replies; 49+ messages in thread
From: Maxime Ripard @ 2014-01-29 11:10 UTC (permalink / raw)
  To: Mark Brown, Mike Turquette, Emilio Lopez
  Cc: linux-sunxi, linux-spi, linux-arm-kernel, devicetree,
	linux-kernel, kevin.z.m.zh, sunny, shuge, zhuzhenhua,
	Maxime Ripard

Hi everyone,

This patchset brings support for the SPI controller found in the
Allwinner A31 SoC.

Even though the controller supports DMA, the driver only supports PIO
mode for now. This driver will be used to bring up and test DMA on the
SoC, so support for the DMA will come eventually.

It doesn't support transfer larger than the FIFO size (128 bytes) for
now, I expect it to be fixed in the future.

Thanks!
Maxime

Changes from v1:
  - Switched to using the transfer_one and set_cs callbacks
  - Switched to using runtime_pm
  - Report an error when we try to do a transfer larger than the FIFO
    size, instead of silently timeouting.
  - Added a Kconfig symbol
  - Move the clock ratio change at transfer time
  - Fixed the PLL6 cell size in the DTSI
  - A few fixes here and there: typos, etc.

Maxime Ripard (5):
  clk: sunxi: Add support for PLL6 on the A31
  ARM: sun6i: dt: Add PLL6 and SPI module clocks
  spi: sunxi: Add Allwinner A31 SPI controller driver
  ARM: sun6i: dt: Add SPI controllers to the A31 DTSI
  ARM: sunxi: Enable A31 SPI and SID in the defconfig

 Documentation/devicetree/bindings/clock/sunxi.txt  |   1 +
 .../devicetree/bindings/spi/spi-sun6i.txt          |  24 ++
 arch/arm/boot/dts/sun6i-a31.dtsi                   |  86 +++-
 arch/arm/configs/sunxi_defconfig                   |   3 +
 drivers/clk/sunxi/clk-sunxi.c                      |  45 ++
 drivers/spi/Kconfig                                |   7 +
 drivers/spi/Makefile                               |   1 +
 drivers/spi/spi-sun6i.c                            | 478 +++++++++++++++++++++
 8 files changed, 636 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-sun6i.txt
 create mode 100644 drivers/spi/spi-sun6i.c

-- 
1.8.4.2


^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2014-02-03 17:40 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 11:10 [PATCH v2 0/5] Add Allwinner A31 SPI controller support Maxime Ripard
2014-01-29 11:10 ` Maxime Ripard
2014-01-29 11:10 ` Maxime Ripard
2014-01-29 11:10 ` [PATCH v2 1/5] clk: sunxi: Add support for PLL6 on the A31 Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 11:10 ` [PATCH v2 2/5] ARM: sun6i: dt: Add PLL6 and SPI module clocks Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 11:10 ` [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 12:25   ` Mark Brown
2014-01-29 12:25     ` Mark Brown
2014-01-29 12:25     ` Mark Brown
2014-01-29 13:32     ` Maxime Ripard
2014-01-29 13:32       ` Maxime Ripard
2014-01-29 13:32       ` Maxime Ripard
2014-01-29 16:40       ` Mark Brown
2014-01-29 16:40         ` Mark Brown
2014-01-29 16:40         ` Mark Brown
2014-01-30 23:52       ` Kevin Hilman
2014-01-30 23:52         ` Kevin Hilman
2014-01-30 23:52         ` Kevin Hilman
2014-01-31  2:29         ` Felipe Balbi
2014-01-31  2:29           ` Felipe Balbi
2014-01-31  2:29           ` Felipe Balbi
2014-01-31  5:06           ` Kevin Hilman
2014-01-31  5:06             ` Kevin Hilman
2014-01-31  5:06             ` Kevin Hilman
2014-01-31  8:11         ` Maxime Ripard
2014-01-31  8:11           ` Maxime Ripard
2014-01-31  8:11           ` Maxime Ripard
2014-01-31 16:03           ` Mark Brown
2014-01-31 16:03             ` Mark Brown
2014-01-31 16:03             ` Mark Brown
2014-02-03 17:39           ` Kevin Hilman
2014-02-03 17:39             ` Kevin Hilman
2014-02-03 17:39             ` Kevin Hilman
2014-02-03 17:39             ` Kevin Hilman
2014-01-30  1:20   ` [linux-sunxi] " Emilio López
2014-01-30  1:20     ` Emilio López
2014-01-30  1:20     ` Emilio López
2014-01-29 11:10 ` [PATCH v2 4/5] ARM: sun6i: dt: Add SPI controllers to the A31 DTSI Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 11:10 ` [PATCH v2 5/5] ARM: sunxi: Enable A31 SPI and SID in the defconfig Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard
2014-01-29 11:10   ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.