spi: stm32: add support for STM32F4
authorCezary Gapinski <cezary.gapinski@gmail.com>
Mon, 24 Dec 2018 22:00:38 +0000 (23:00 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 18:25:48 +0000 (18:25 +0000)
commit00505edf95115707d91afd2685993b98daa93f15
treed659593ccd23a09de0fb4a51d41b17db3baa91e0
parent55166853b2f56ce29d4f1dad76f092e1a97d9884
spi: stm32: add support for STM32F4

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>
drivers/spi/spi-stm32.c