Dear All,
Hello.
We referred to "kernel/Documentation/devicetree/binding/bus/imx-weim.txt" and configure the EIM setting in device tree.
But, the error happened on boot-up in L3.14.28_1.0.0.
=========
<device tree setting>
weim: weim@021b8000 {
compatible = "fsl,imx6q-weim";
reg = <0x021b8000 0x4000>;
clocks = <&clks 196>;
...
<Error log>
of_clk_src_onecell_get: invalid clock index 196
imx-weim: probe of 21b8000.weim failed with error -2
==========
It looks wrong clock setting.
Could you tell me the meaning with the value of "clocks = <&clks 196>"?
Or, do you find our wrong setting?
Best Regards,
Keita
Solved! Go to Solution.
Hi Keita
i.MX6SL BSP device tree file does not have EIM definitions as it uses default
CCM settings, check i.MX6SL dts file (arch/arm/boot/dts/imx6sl.dtsi) :
arch/arm/mach-imx/clk-imx6sl.c :
If needed, it may be suggested to request through fae additional patch to provide EIM
support in dts of i.MX6SL BSP. As for question:
>Could you tell me the meaning with the value of "clocks = <&clks 196>"
196 is clks[] array index of IMX6QDL_CLK_EIM_SLOW clock, check weim: weim@021b8000 record in:
IMX6QDL_CLK_EIM_SLOW is defined in file: ..arch/arm/mach-imx/clk-imx6q.c
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Keita
i.MX6SL BSP device tree file does not have EIM definitions as it uses default
CCM settings, check i.MX6SL dts file (arch/arm/boot/dts/imx6sl.dtsi) :
arch/arm/mach-imx/clk-imx6sl.c :
If needed, it may be suggested to request through fae additional patch to provide EIM
support in dts of i.MX6SL BSP. As for question:
>Could you tell me the meaning with the value of "clocks = <&clks 196>"
196 is clks[] array index of IMX6QDL_CLK_EIM_SLOW clock, check weim: weim@021b8000 record in:
IMX6QDL_CLK_EIM_SLOW is defined in file: ..arch/arm/mach-imx/clk-imx6q.c
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------