I'm planning to use this IC in an NXP i.MX8 platform. The device has one USB port for charging and data.
How does USB data work with this charger IC BQ25790?
I guess I also need an USB switch IC to disconnect the D+/D- from the charger IC and connect to the application processor.