Date: Tue, 3 Jun 2014 14:03:02 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: Luiz Otavio O Souza <loos@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r267021 - in head/sys: arm/broadcom/bcm2835 arm/ti boot/fdt/dts/arm Message-ID: <20140603210302.GK31367@funkthat.com> In-Reply-To: <201406031924.s53JOrT3037460@svn.freebsd.org> References: <201406031924.s53JOrT3037460@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140603210302.GK31367>