Hi,
I wanted to know i2c clock frequency is set to 400Khz or not for i2c0 bus & i2c1 bus?..
I found that in linux/arch/arm/mach-imx28/regs-i2c.h, it is set as below
"
#define BP_I2C_TIMING0_HIGH_COUNT 16
and compared with description from sect.27.5.2 "I2C Timing Register 0
(HW_I2C_TIMING0)" i.MX28 Reference Manual (rev.1, 9/2010):
"HW_I2C_TIMING0_WR(0x000F0007); // high time = 15 clocks, read bit at
7 for 400KHz at 24mhz"
<http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf>
"But " BP_I2C_TIMING0_HIGH_COUNT " is not used in the I2c bus driver or I2c chip driver as it is only defined in the regs-i2c.h & more over the entire regs-i2c.h is being protected under the flag "#ifndef __ARCH_ARM___I2C_H" , could any body pls let me know how this is getting invoked in my I2c bus driver or i2c chip driver in the following file also,
drivers/i2c/busses/i2c-mxs.c
drivers/i2c/busses/i2c-mxs.h
arch/arm/mach-mx28/include/mach/regs-i2c.h
Could you please let me know the i2c scl frequency is it configured for 400khz I2c0 bus & I2c1 bus & how this is getting invoked in the i2c driver code
Please kindly do the needful,
Thanks in advance
Solved! Go to Solution.
Please close this issue it is resolved, thanks a lot fro your support
Srinivasan
We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow to resolved the
issue, can we close the discussion? If you still need Freescale help, please feel free to contact us.
Thanks,
Yixing
Please close this issue it is resolved, thanks a lot fro your support