Hi,
we trying to bind IAP interface with NCM driver, actually we are unable to finding how to interface this and we are trying to enable the USB ROLE SWITCH on IMX6qp.
By using this command "/sys/bus/platform/devices/ci_hdrc.0/role" we are changing to host and gadget mode, when ever we changed to host, iphone is getting charging and if we changing to gadget it is not charging. but after changing the gadget mode how we can conform iphone is enumerated as host?
is it correct whatever we are doing for role switch?, if not please guide us how to do.
After role switch what we have to for interface IAP interface with ncm ?
Hi Shivasagar
may be useful to look at below links
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1234415.html
https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-OTG-mode-switching-without-ID-pin/m-p/241587
Best regards
igor