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.
Solved! Go to Solution.
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#