[U-Boot] [PATCH V4 3/4] dm: spi: introduce dm api

Simon Glass sjg at chromium.org
Sat May 7 21:03:15 CEST 2016


Applied to u-boot-dm, thanks!

On 7 May 2016 at 09:11, Simon Glass <sjg at chromium.org> wrote:
> On 2 May 2016 at 20:02, Peng Fan <van.freenix at gmail.com> wrote:
>> Introduce dm_spi_claim_bus, dm_spi_release_bus and dm_spi_xfer
>> Convert spi_claim_bus, spi_release_bus and spi_xfer to use
>> the new API.
>>
>> Signed-off-by: Peng Fan <van.freenix at gmail.com>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Jagan Teki <jteki at openedev.com>
>> ---
>>
>>
>> V4:
>>  Convert spi_claim_bus, spi_release_bus and spi_xfer to call the use APIs.
>> V3:
>>  As Simon suggested, introduce new API. New patch.
>>
>>  drivers/spi/spi-uclass.c | 28 +++++++++++++++++++-------
>>  include/spi.h            | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
>>  2 files changed, 73 insertions(+), 7 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list