But you can't change HUB direction upstream vs downstream, can you? Perhaps there are such hubs? Or you just want OTG ID for some reason without real USB role switching?
If not, then anyway you need direct connection between NXP and HOST for device role time. Since host may change its role, you need to eliminate HUB. Not only eliminate for NXP, but cut it away from host. Perhaps HUB has shutdown? If not, then use 2nd mux like PI3USB10 or something to disconnect HUB. Something as well must be done to USB power pin, in one case host proves power, in other NXP.
