
1 Apr
2015
1 Apr
'15
5:20 a.m.
On 31 March 2015 at 19:55, Simon Glass sjg@chromium.org wrote:
On 24 March 2015 at 08:03, Haikun Wang haikun.wang@freescale.com wrote:
Move the Freescale DSPI driver over to driver model.
Signed-off-by: Haikun Wang Haikun.Wang@freescale.com
Changes in v3:
- Coding style cleanup
- Remove cur_slave_plat in structure fsl_dspi_priv
- Change arguments of 'claim_bus' and 'release_bus'
- Remove 'fsl_dspi_child_post_remove'
- Add support NO-DM SPI
- Add 'cpu_dspi_xxx' platform speical configure interface
Changes in v2:
- Coding style cleanup
- Add some comments
- Use structures for I/O access
- Handle timeout case in 'dspi_tx' and 'dspi_rx'
- Move some register configurations from 'set_mode' to 'claim_bus'
- Rename structure fsl_dspi_platdata's member baudrate
- Remove some redundancy code
Changes in v1: None
drivers/spi/Makefile | 1 + drivers/spi/fsl_dspi.c | 737 +++++++++++++++++++++++++++++++++++++++++++++++++ include/fsl_dspi.h | 150 ++++++++++ 3 files changed, 888 insertions(+) create mode 100644 drivers/spi/fsl_dspi.c create mode 100644 include/fsl_dspi.h
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm/next, thanks!