Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2015 18:59:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 198783] I2C driver for AM335X enhancement
Message-ID:  <bug-198783-7-41Eb5du91B@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198783-7@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198783-7@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198783

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

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

--- Comment #1 from Luiz Otavio O Souza <loos@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198783-7-41Eb5du91B>