Skip to content

Commit

Permalink
spi: stm32: add support for STM32F4
Browse files Browse the repository at this point in the history
Add routines, registers & bitfield definition. Also baud rate divisor
definitions for STM32F4 SPI. This version supports full-duplex,
simplex TX and half-duplex TX communication with 8 or 16-bit per word.
DMA capability is optionally supported for transfer longer than 16 bytes.
For transfer less than 16 bytes frames can be send in discontinuous mode.

Signed-off-by: Cezary Gapinski <cezary.gapinski@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Cezary Gapinski authored and Mark Brown committed Jan 7, 2019
1 parent 5516685 commit 00505ed
Showing 1 changed file with 482 additions and 7 deletions.
Loading

0 comments on commit 00505ed

Please sign in to comment.