All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Support H3 SPI controller
@ 2016-10-19 14:02 ` Milo Kim
  0 siblings, 0 replies; 16+ messages in thread
From: Milo Kim @ 2016-10-19 14:02 UTC (permalink / raw)
  To: Mark Brown, Maxime Ripard, Chen-Yu Tsai; +Cc: linux-spi, linux-kernel, Milo Kim

Allwinner H3 SPI controller has same architecture as A31.
So most configuration is identical except one thing - FIFO capacity.

                         A31    H3
------------------------------------
Number of controllers     4      2
Number of FIFO depth     128    64
Transfer bits             8      8

Register maps are sharable, so sun6i SPI driver is reusable with
device configuration.

Tested on Nano Pi M1 and SPI slave device is TI LP8860.

Milo Kim (3):
  spi: sun6i: Add binding for Allwinner H3 SPI controller
  spi: sun6i: Support Allwinner H3 SPI controller
  spi: sun6i: Use the driver data to get the buffer size

 .../devicetree/bindings/spi/spi-sun6i.txt          | 25 +++++++++++-
 drivers/spi/Kconfig                                |  4 +-
 drivers/spi/spi-sun6i.c                            | 44 +++++++++++++++-------
 3 files changed, 56 insertions(+), 17 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2016-11-03 15:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-19 14:02 [PATCH 0/3] Support H3 SPI controller Milo Kim
2016-10-19 14:02 ` Milo Kim
2016-10-19 14:02 ` [PATCH 1/3] spi: sun6i: Add binding for Allwinner " Milo Kim
2016-10-20 15:45   ` Maxime Ripard
2016-10-20 15:45     ` Maxime Ripard
2016-11-03 15:42   ` Applied "spi: sun6i: Add binding for Allwinner H3 SPI controller" to the spi tree Mark Brown
2016-10-19 14:02 ` [PATCH 2/3] spi: sun6i: Support Allwinner H3 SPI controller Milo Kim
2016-10-20 15:50   ` Maxime Ripard
2016-10-20 15:50     ` Maxime Ripard
2016-10-20 15:53   ` Chen-Yu Tsai
2016-10-20 15:53     ` Chen-Yu Tsai
2016-10-21 13:36     ` Milo Kim
2016-10-19 14:02 ` [PATCH 3/3] spi: sun6i: Use the driver data to get the buffer size Milo Kim
2016-10-20 15:56   ` Maxime Ripard
2016-10-20 15:56     ` Maxime Ripard
2016-10-21 13:39     ` Milo Kim

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.