On the i.MX6Q we would like to be able to adjust the pad settings of MX6QDL_PAD_GPIO_3__CCM_CLKO2 from userspace after the kernel has booted in order to fine-tune clock edge speed. Is this possible and if so how can we do it? We also would especially like to be able to read back the value of this register in order to ensure that our chances have taken effect. I have seen other posts on this forum saying that IOMUX settings can be adjusted at runtime, but I am not sure how this can be done in Linux 3.14.38.
已解决! 转到解答。
Hi davemcmordie
one can try memtool included in unit tests (folder ..test/memtool)
https://patchwork.openembedded.org/patch/110753/
Best regards
igor
Hello,
Thanks for your help. When I write, I don't see the updated value from the readback. Any ideas on how to fix this?
root@devunit:/home/linaro/devmem# ./devmem 0x20E05FC w 0x0001B070
/dev/mem opened.
Memory mapped at address 0x76fbe000.
Read at address 0x020E05FC (0x76fbe5fc): 0x0001B0B0
Write at address 0x020E05FC (0x76fbe5fc): 0x0001B070, readback 0x0001B0B0
root@devunit:/home/linaro/devmem#
Hi davemcmordie
one can try memtool included in unit tests (folder ..test/memtool)
https://patchwork.openembedded.org/patch/110753/
Best regards
igor