[U-Boot] [PATCH v3] dm: spi: Convert Freescale DSPI driver to driver model

Simon Glass sjg at chromium.org
Wed Apr 1 03:55:39 CEST 2015


On 24 March 2015 at 08:03, Haikun Wang <haikun.wang at freescale.com> wrote:
> Move the Freescale DSPI driver over to driver model.
>
> Signed-off-by: Haikun Wang <Haikun.Wang at 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 at chromium.org>


More information about the U-Boot mailing list