--- zzzz-none-000/linux-4.4.60/drivers/usb/dwc3/core.h 2017-04-08 07:53:53.000000000 +0000 +++ wasp-540e-714/linux-4.4.60/drivers/usb/dwc3/core.h 2019-07-03 09:21:34.000000000 +0000 @@ -31,6 +31,7 @@ #include #include #include +#include #include @@ -840,6 +841,9 @@ const char *hsphy_interface; + /* emulation targets specific */ + bool emulation; + unsigned delayed_status:1; unsigned ep0_bounced:1; unsigned ep0_expect_in:1; @@ -865,9 +869,18 @@ unsigned dis_u3_susphy_quirk:1; unsigned dis_u2_susphy_quirk:1; unsigned dis_enblslpm_quirk:1; + unsigned usb3_dev_reset_quirk:1; unsigned tx_de_emphasis_quirk:1; unsigned tx_de_emphasis:2; + atomic_t in_lpm; + + unsigned enable_usb2susphy_quirk:1; + struct usb_susphy susphy; + + unsigned enable_usb2_host_discon_quirk:1; + u32 phy_misc_reg; + u32 phy_host_disc_on; }; /* -------------------------------------------------------------------------- */