Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1513855

Re: [PATCH v2 4/4] spi: sun6i: Support Allwinner H3 SPI controller

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 4/4] spi: sun6i: Support Allwinner H3 SPI controller
Date 2016-11-02 14:50 +0100
Message-ID <sz45r-6Xc-9@gated-at.bofh.it> (permalink)
References <sx9iW-4NF-9@gated-at.bofh.it> <sx9iW-4NF-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Oct 28, 2016 at 03:54:12PM +0900, Milo Kim wrote:
> H3 has two SPI controllers. The size of the buffer is 64 * 8.
> (8 bit transfer by 64 entry FIFO)
> A31 has four controllers. The size of the buffer is 128 * 8.
> (8 bit transfer by 128 entry FIFO)
> 
> Register maps are sharable, so sun6i SPI driver is reusable with
> device configuration.
> 
> Use the variable, 'fifo_depth' instead of fixed value to support both SPI
> controllers.
> 
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
> Cc: Chen-Yu Tsai <wens@csie.org>
> Signed-off-by: Milo Kim <woogyom.kim@gmail.com>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 4/4] spi: sun6i: Support Allwinner H3 SPI controller Milo Kim <woogyom.kim@gmail.com> - 2016-10-28 09:00 +0200
  Re: [PATCH v2 4/4] spi: sun6i: Support Allwinner H3 SPI controller Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-11-02 14:50 +0100
  Applied "spi: sun6i: Support Allwinner H3 SPI controller" to the spi tree Mark Brown <broonie@kernel.org> - 2016-11-03 16:50 +0100

csiph-web