Skip to content

Commit

Permalink
spi: stm32: introduce compatible data cfg
Browse files Browse the repository at this point in the history
Prepare support for STM32F4 spi variant by introducing compatible
configuration data.
Move STM32H7 specific stuff to compatible data structure:
 - registers & bit fields
 - routines to control driver
 - baud rate divisor definitions
 - fifo availability
 - split IRQ functions to parts to be called when the IRQ occurs
   and for threaded interrupt what helps to provide less discontinuous
   mode for drivers without FIFO.

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 f8bb12f commit 5516685
Showing 1 changed file with 236 additions and 101 deletions.
Loading

0 comments on commit 5516685

Please sign in to comment.