diff options
author | Milo Kim <woogyom.kim@gmail.com> | 2016-10-28 08:54:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-02 21:59:09 +0100 |
commit | 10565dfd35488c45826201b4ce28597d6b5de3dd (patch) | |
tree | 21b345d2b93eccae9b4613ab399ce5669231f22e /drivers/spi/spi-ti-qspi.c | |
parent | spi: sun6i: Add binding for Allwinner H3 SPI controller (diff) | |
download | linux-10565dfd35488c45826201b4ce28597d6b5de3dd.tar.xz linux-10565dfd35488c45826201b4ce28597d6b5de3dd.zip |
spi: sun6i: Support Allwinner H3 SPI controller
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.
Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-ti-qspi.c')
0 files changed, 0 insertions, 0 deletions