• Bjoern A. Zeeb's avatar
    dwc3: add more quirks and checks · 09cdf487
    Bjoern A. Zeeb authored
    Rather than just printing the Global SNPS ID Register store it as well
    so we can do a version check later.
    In addition, for debugging purposes, read the Global Hardware Parameters
    Registers and print them.
    Based on the snpsid disable an XHCI feature using a quirk prepared
    in 447c418d.
    Add the "snps,dis_u3_susphy_quirk" quirk and handle Suspend USB3.0 SS PHY
    after power-on-reset/during core initialization (suggested to be cleared)
    based on the DWC3_GHWPARAMS0 register.
    MFC after:	2 weeks
    Obtained from:	an old debugging patch
    Reviewed by:	mw (earlier version), mmel
    Differential Revision: https://reviews.freebsd.org/D35699