]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: i2c: Add a function to transfer messages
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:15:42 +0000 (18:15 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:01:00 +0000 (08:01 +0200)
commitdf62b7d8447b1b4f1f93afb337623779398d7e8b
tree22a246d8525b8114f105e5aba9bc4331ec66f21a
parent241d0401b65ad6a7481b42400d1b444ab9de2fd5
dm: i2c: Add a function to transfer messages

Sometimes it is useful to be able to transfer a raw I2C message. This
happens when the chip address needs to be set manually, or when the data to
be sent/received is in another buffer.

Add a function to provide access to this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-uclass.c
include/i2c.h