
9 Jan
2008
9 Jan
'08
9:34 p.m.
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 timur@freescale.com
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