Hi,
We are using iMX6 and kernel version is 3.14.70. I have set USB_OTG_FSM in kernel, but there is no entry for /sys/kernel/debug/ci_hdrc.0/role even though /sys/kernel/debug exists.
How to make /sys/kernel/debug/ci_hdrc.0/role available? Is there another way to detect current OTG is in host or gadget mode?
Regards,
Winston
Solved! Go to Solution.
Figured out: Need to enable USB_CHIPIDEA_DEBUG to get the entry.
Regards,
Yan
Figured out: Need to enable USB_CHIPIDEA_DEBUG to get the entry.
Regards,
Yan