From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 7 May 2016 09:11:51 -0600 Subject: [U-Boot] [PATCH V4 3/4] dm: spi: introduce dm api In-Reply-To: <1462240943-488-3-git-send-email-van.freenix@gmail.com> References: <1462240943-488-1-git-send-email-van.freenix@gmail.com> <1462240943-488-3-git-send-email-van.freenix@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2 May 2016 at 20:02, Peng Fan 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 > Cc: Simon Glass > Cc: Jagan Teki > --- > > > 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