From owner-svn-src-all@FreeBSD.ORG Tue Jun 3 21:03:04 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27EF9738; Tue, 3 Jun 2014 21:03:04 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E13142A9C; Tue, 3 Jun 2014 21:03:03 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s53L32KI045890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Jun 2014 14:03:03 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s53L32Qj045889; Tue, 3 Jun 2014 14:03:02 -0700 (PDT) (envelope-from jmg) Date: Tue, 3 Jun 2014 14:03:02 -0700 From: John-Mark Gurney To: Luiz Otavio O Souza Subject: Re: svn commit: r267021 - in head/sys: arm/broadcom/bcm2835 arm/ti boot/fdt/dts/arm Message-ID: <20140603210302.GK31367@funkthat.com> References: <201406031924.s53JOrT3037460@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201406031924.s53JOrT3037460@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 03 Jun 2014 14:03:03 -0700 (PDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2014 21:03:04 -0000 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."