The Linux kernel appears to be altering my pinmux settings (TMS320C6A8167). Everything looks good in u-boot and then I boot and check in linux and values are changed. Can anyone give me an idea what file to look at in the kernel to fix this problem?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The Linux kernel appears to be altering my pinmux settings (TMS320C6A8167). Everything looks good in u-boot and then I boot and check in linux and values are changed. Can anyone give me an idea what file to look at in the kernel to fix this problem?
Hi Stephen,
First look at what is going bad on pinmux before changing any code.
Take pinmux register values from u-boot prompt and compare with the kernel pinmux values.
You can get all the pin mux values from kernel through debugfs. Follow these steps after kernel boot-up
1. mount -t debugfs debugfs /sys/kernel/debug/
2. ls -l /sys/kernel/debug/omap_mux
Look at this post just for reference http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/168911.aspx
Regards
AnilKumar
Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question. Thanks!
I do not see the pinmux in the list of devices:
root@c6a816x-evm:/sys/kernel/debug# ls
asoc clock hid memblock musb smartreflex usb
bdi gpio kprobes mmc0 regdump testmode vram
I did figure out how to disable the pinmux settings in the kernel -- I edited ti8168_defconfig
and changed the CONFIG_OMAP_MUX setting to 'n'Hi Stephen,
You have to enable CONFIG_OMAP_MUX for getting the debug messages of pinmux registers.
Then cross check the values in u-boot with kernel register values.
From code you can look @ either "board-ti8168evm.c" or "devices.c" file.
Regards
AnilKumar
Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question. Thanks!