In my application, I am connecting a USB host to a USB hub’s upstream port using a Type C cable. I have a power bank option in my USB hub. If that power bank is connected USB host should get charged through the USB hub. If it is disconnected USB hub should be powered through USB hosts Vbus. What should be done for this? Which chip can be used?