Skip to content

Commit

Permalink
spi_mpc8xxx: Add support for QE DMA mode and CPM1/CPM2 chips
Browse files Browse the repository at this point in the history
This patch adds QE buffer descriptors mode support for the
spi_mpc8xxx driver, and as a side effect we now support CPM1
and CPM2 SPI controllers.

That means that today we support almost all MPC SPI controllers:

- MPC834x-style controllers (support PIO mode only);
- CPM1 and CPM2 controllers (support DMA mode only);
- QE SPI controllers in CPU mode (PIO mode with shift quirks);
- QE SPI controllers in buffer descriptors (DMA) mode;

The only controller we don't currently support is a newer eSPI
(with a dedicated chip selects and a bit different registers map).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Nov 12, 2009
1 parent 87ec0e9 commit 4c1fba4
Show file tree
Hide file tree
Showing 2 changed files with 500 additions and 43 deletions.
3 changes: 0 additions & 3 deletions drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ config SPI_MPC8xxx
This enables using the Freescale MPC8xxx SPI controllers in master
mode.

This driver uses a simple set of shift registers for data (opposed
to the CPM based descriptor model).

config SPI_OMAP_UWIRE
tristate "OMAP1 MicroWire"
depends on ARCH_OMAP1
Expand Down
Loading

0 comments on commit 4c1fba4

Please sign in to comment.