imx6solo i2c clock frequency too low

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6solo i2c clock frequency too low

526 次查看
garyyin
Contributor III

We are using Linux 3.10.45, imx6qdl-sabresd.dtsi config:

&i2c2 {

    clock-frequency = <400000>;   // i2c clock should be 400kbps

    pinctrl-names = "default";

    pinctrl-0 = <&pinctrl_i2c2_2>;

    status = "okay";

    i2c devices...

}

But we check the board, and found the I2C2 SCLK is only 50Kbps.

标签 (4)
标记 (3)
0 项奖励
1 回复

357 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Gary

one can check 3.10.53 where it is working, please pay attention to IMX6QDL_CLK_I2C2 in dts file,

linux/include/dt-bindings/clock/imx6qdl-clock.h and clk-imx6q.c

linux-2.6-imx.git - Freescale i.MX Linux Tree

linux-2.6-imx.git - Freescale i.MX Linux Tree

linux-2.6-imx.git - Freescale i.MX Linux Tree

some clock theory in http://elinux.org/images/b/b8/Elc2013_Clement.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励