]> git.dujemihanovic.xyz Git - u-boot.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)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 02:57:51 +0000 (20:57 -0600)
commitdf358c6beca8f7cc2f2b67c54f0bf255ebd5cc22
tree702662e59c25602e3c8820742ce85c9506d410ba
parent7fc65bcf8a0a5463db86efbb273a40448c845efc
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