&i2c2 {
status = “okay”;
clock-frequency = “<5000>”;
};"
but any value under 20000 is not working (although the kernel gets the correct value in /sys/class/i2c-dev/i2c-0/device/of_node/clock-frequency".
Hi Davide
one can try to debug it in clk driver and (if necessary) to reprogram parent pll to lower frequency:
clk-imx6q.c\imx\clk\drivers - linux-imx - i.MX Linux kernel
May be useful to check linux common clock framework documentation:
https://www.kernel.org/doc/Documentation/clk.txt
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!
-----------------------------------------------------------------------------------------------------------------------