On 05/05/2021 12:06, Marek Vasut wrote: > On 5/5/21 10:41 AM, Neil Armstrong wrote: >> If the PHY isn't specified in the DT, -ENODATA means it should be skipped, >> handle it like -ENOENT. >> >> With that, devices without USB3 supported can have USB working (Odroid-HC4). > > Shouldn't you rather specify NOP PHY in the DT ?
Who NOP I would have no idea if the port is disabled or used. The PHY control is mixed between the actual PHY driver and the DWC3/DWC2 glue, so the bindings were designed to make some PHYs phandle optionals if unused. Neil