While I do so, since there are no qusb2 targets present on femto phy's, do
you suggest we still add them to port structure in dwc3-qcom ? I am inclined
to add it because it would make implementation look cleaner w.r.t code and
also spurious interrupts are not getting triggered (which was my primary
concern as it was never tested).
Yes, that's what I've been suggesting all along. It's a per-port
interrupt so that's where it belongs.
We should still try to determine when each interrupt should be enabled
and how best to implement that (hence all my questions).
For example, if there is no use for hs interrupts on SoCs using femto
PHYs we should fix the bindings. If we can use dp/dm on SoCs using QUSB2
PHYs, we should probably just ignore the hs interrupt when all three are
defined (especially since that functionality has never worked anyway).