I want to create a self powered hub using USB-C connector.
For the up stream facing port I want to use a TPS25750D as a PD controller in the sink role.
The hub IC has a VBUS pin that allows it to only advertise its speed once VBUS is applied.
If I am using PD over USB-C then we might have a lot more than 5V connected.
1) Is the best way / is it sensible to connect VBUS (via the required resistor network) to a GPIO configured as an output that is triggered by either
'AttachedAsSink' or
'UFP_Indicator_Event' or
'UFP_DFP_Event' or 'PlugEvent' or
'VCONN_On_Event'
We might be connected to a power only source or we might be connected to a data only source or we might be connected to power and data source.
2) Further, peripherals connected to the hub should enumerate and communicate their power needs. If the hub considers itself self powered, does it prevent the passing on of the power needs of the peripherals? How does this work with the TPS25750D which will negotiate a power contract. Does the TPS25750D contract simply override all others?