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.
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!
-----------------------------------------------------------------------------------------------------------------------