Customer would like to change i2c clock by modify device tree, but seems not work.
So we want to debug it by dump related register.
Is it right to dump below register for i2c1 clock because memtool return zero?
root@imx8mmevk:~# /unit_tests/memtool -32 0x3038AD00 1
E
Reading 0x1 count starting at address 0x3038AD00
0x3038AD00: 00000000
root@imx8mmevk:~# /unit_tests/memtool -32 0x3038AD80 1
E
Reading 0x1 count starting at address 0x3038AD80
0x3038AD80: 00000000
root@imx8mmevk:~# /unit_tests/memtool -32 0x3038AE00 1
E
Reading 0x1 count starting at address 0x3038AE00
0x3038AE00: 00000000
root@imx8mmevk:~# /unit_tests/memtool -32 0x3038AE80 1
E
Reading 0x1 count starting at address 0x3038AE80
0x3038AE80: 00000000
i2c-1
i2c-2
已解决! 转到解答。
Hi m.c.
seems you successfully used memtool with i.MX8M Mini on https://community.nxp.com/message/1175392
For clock change with dts one can look at examples on:
i.MX7D 24MHz clock output to CCM_CLK1_P pin
Where pll4_bypass_src is set to choose osc 24MHz or CLK2_N/P as source in linux BSP code?
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi m.c.
seems you successfully used memtool with i.MX8M Mini on https://community.nxp.com/message/1175392
For clock change with dts one can look at examples on:
i.MX7D 24MHz clock output to CCM_CLK1_P pin
Where pll4_bypass_src is set to choose osc 24MHz or CLK2_N/P as source in linux BSP code?
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------