[Bug 198783] I2C driver for AM335X enhancement

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 24 19:00:00 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198783

Luiz Otavio O Souza <loos at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |loos at FreeBSD.org

--- Comment #1 from Luiz Otavio O Souza <loos at FreeBSD.org> ---
I've explained to the OP on IRC that this change, as implemented here, has a
few drawbacks:

- We would need to copy the same code to all i2c controllers;

- It does not do what an i2c user would expect.  An I2CSTART call, for example,
will not generate a start condition on i2c bus.

I recommended that this logic (of using I2CRDWR instead of individual I2C
events) could be moved to i2c(8), which in turn should support both methods for
read, write and bus scan.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-arm mailing list