Hi,
We have an custom board based on J5 ti811x.
ezsdk uboot version :u-boot-2010.06-psp04.07.00.02
ezsdk kernel version :linux-2.6.37-psp04.07.00.02
As per our design i2c2 (omap_i2c.3) need to configure with a speed of 400KHz and connect to amplifier chip. But the SCL line shows 8KHz. When I debugged, I found out that fclk_rate in i2c_omap.c assigned with 0 due to below line in clock814x_data.c:
CLK(NULL, "i2c3_fck", &i2c3_fck, CK_TI814X | CK_DM385 | CK_TI811X),
When I changed as shown below i am able to get 392KHz when registered bus with 400.
CLK("omap_i2c.3", "fck", &i2c3_fck, CK_TI814X | CK_DM385 | CK_TI811X),
My question is
1) But Only address is transmitted through i2c driver and I got ack. But data is not transmitting on i2c line.
2) Is there any specific reason why the clock is not enabled for omap_i2c.3.
2) After the modification I am not able to do devmem2 0x4819C0B0. it shows below error.
root@c6a811x-evm:~# devmem2 0x4819C0B0
/dev/mem opened.Unhandled fault: external abort on non-linefetch (0x1018) at 0x4030f0b0
Memory mapped at address 0x4030f000.
Bus error
root@c6a811x-evm:~# devmem2 0x48140BC8
BR/-
Nihad