svn commit: r267021 - in head/sys: arm/broadcom/bcm2835 arm/ti boot/fdt/dts/arm
John-Mark Gurney
jmg at funkthat.com
Tue Jun 3 21:03:04 UTC 2014
Luiz Otavio O Souza wrote this message on Tue, Jun 03, 2014 at 19:24 +0000:
> Author: loos
> Date: Tue Jun 3 19:24:53 2014
> New Revision: 267021
> URL: http://svnweb.freebsd.org/changeset/base/267021
>
> Log:
> FreeBSD, historically, has always used 8-bit addresses for i2c devices
> (7-bit device address << 1), always leaving the room for the read/write bit.
>
> This commit convert ti_i2c and revert r259127 on bcm2835_bsc to make them
> compatible with 8-bit addresses. Previous to this commit an i2c device
> would have different addresses depending on the controller it was attached
> to (by example, when compared to any iicbb(4) based i2c controller), which
> was a pretty annoying behavior.
>
> Also, update the PMIC i2c address on beaglebone* DTS files to match the new
> address scheme.
>
> Now the userland utilities need to do the correct slave address shifting
> (but it is going to work with any i2c controller on the system).
>
> Discussed with: ian
> MFC after: 2 weeks
We should probably document this in the iicbus(4) or iic(4) man page,
want to do the honors?
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the svn-src-all
mailing list