From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Wed, 09 Jan 2008 14:34:40 -0600 Subject: [U-Boot-Users] [PATCH] 83xx: Add support for CFG_I2C_SPEED in fsl_i2c.c In-Reply-To: <11998955213899-git-send-email-timur@freescale.com> References: <11998955213899-git-send-email-timur@freescale.com> Message-ID: <47852FE0.9080909@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 Timur Tabi wrote: > Add support to fsl_i2c.c for setting and querying the I2C bus speed. Current > 83xx boards define the CFG_I2C_SPEED, but fsl_i2c.c ignores the value and > uses a conservative value of 0x3F when programming the I2C bus speed. > > Signed-off-by: Timur Tabi > --- > > Unfortunately, only 83xx calculates and stores the I2C clock frequencies, > so this code is compiled on 83xx only. I've got another patch that adds this feature to 85xx and 86xx, so if that patch is applied, then I will submit another version of *this* patch that extends the code to 85xx and 86xx. -- Timur Tabi Linux kernel developer at Freescale