Part Number: TPS25751
Hello, I am creating a device that will source and sink power through a USBC port. The device will sink power to charge internal batteries with an external charging IC (MP2760) and will source power to the port to charge a phone from the battery.
From my understanding, the TPS25751D has BC1.2 legacy support on the GPIO4/5 pins through tapping the D+/D- lines coming from the USBC connection. From the datasheet it seems as though I need a MUX that will route the D+/D- connection from the TPS25751D to the MCU once the BC1.2 has finished. I was wondering if this was necessary/how to do this (or if I could connect everything at once in parallel, which I am skeptical of). If I require a mux, I plan to use the TMUXHS221NKGR.
The thread in TPS25751EVM: GPIO Events to control USB2.0 Mux for BC1.2 compatibility is related in the sense where I am unsure how to implement the MUX if I do need it since I am assuming the MUX would need a constant voltage to route the D+/D- signals rather than a one off pulse like the thread is describing.
The microcontroller (NRF5340) will communicate with the PD and charging ICs over I2C and the PD and charging ICs do not communicate, rather they have a shared power path. The microcontroller will need to send and receive data over the USB D+/D-.

I guess one option is to have the MCU in a HIZ state while the handshake occurs, but the legacy detection will only be necessary if the CC detection fails and I'm not too sure how difficult this will be to implement.