Tool/software: Linux
Hello Team
We have a usb port that is used to connect an iPhone and use CarPlay.
In this scenario, the port starts as host, and during the session, the iPhone will eventually ask for a role-switch. The port will then go to gadget mode. In either mode, we must keep the VBUS line high. This is ok, we are able to do this because we are not using the drvvbus line to set the state, in fact, we always keep the VBUS line high.
Keeping in mind that VBUS will always be high, so it will not change its state, then our question is how can we detect the iPhone was disconnected when we are in gadget mode (J6-USB as device and VBUS state high)?
Does DRA71x support hnp?
Thanks in advance