From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Mon, 15 Dec 2008 17:42:28 -0600 Subject: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions In-Reply-To: References: <1228325310-19275-1-git-send-email-timur@freescale.com> <20081215224707.D70FD832E8A1@gemini.denx.de> Message-ID: <4946EB64.5060900@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ksi at koi8.net wrote: > On Mon, 15 Dec 2008, Wolfgang Denk wrote: > > Are you going to implement support for multiple I2C busses on some boards? > I'm working on something like this now so it would be nice to coordinate our > efforts somehow... Yes, my goal is to add low-level i2c functions that take an i2c bus as a parameter. So instead of i2c_set_bus_num(1); i2c_read(...); you can do i2c_read(1, ...) or something like that. My goal is to eliminate i2c_set_bus_num() and everything related to it. It sounds like we're working on something very similar. This is very low-priority for me, though. -- Timur Tabi Linux kernel developer at Freescale