Dear Andrew Dyer,

In message <49595ee1.8040...@righthandtech.com> you wrote:
> 
> This patch adds a #define to optionally change the behaviour of
> i2c_read() in soft_i2c.c to send an I2C repeated start instead of a
> stop-start between sending the device address pointer write and
> reading back the data.  The current behaviour is retained as the
> default.
> 
> While most devices will work either way, I have a smart battery(*) that
> requires repeated start, and someone at some point found a device that
> required a stop-start.
> 
> (*) 
> http://www.inspired-energy.com/Standard_Products/NL2054/NL2054%20Rev1.0%20Data%20Sheet.pdf
> 
> Signed-off-by: Andrew Dyer <ad...@righthandtech.com>
> ---
>  README                 |    9 +++++++++
>  drivers/i2c/soft_i2c.c |   12 +++++++++++-
>  2 files changed, 20 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
A wise person makes his  own  decisions,  a  weak  one  obeys  public
opinion.                                           -- Chinese proverb
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to