Adam Ford <aford173@xxxxxxxxx> 于2022年4月12日周二 08:24写道: > > I have a board with a dual role USB conttroller connected to a dual > role hub Could you please explain more about what's "a dual role hub"? > connected to a PTN5110 for enabing power to the USB-C. > > SoC -> Hub -> PTN-> USB-C What signals of Hub chip connect to PTN5110 chip? > > The hope was the PTN5110 would enable/disable the src_en pin when I > connect a device that needs power. Unfortunately, most of the > examples I can see for the device trees on a PTN5110 show some sort of > connection to a USB controller, but I am going through a hub, not a > controller. > > Is it possible to configure the PTN5110 to either not require > connection to a USB controller or plumb it to a USB hub? My understanding PTN5110(TCPCI controller with PD PHY) is independent with USB data path, for USB data path, I think it should be: SoC -> Hub -> USB-C PTN5110 should not care or know if there is a Hub between type-C connector and USB controller. If the type-C connector connects to a Hub, then it's a DFP only on data, and from power point view, you also only power source role, right? thanks Li Jun > > thanks > > adam