Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: dwc3: pci: Enable dis_uX_susphy_quirk for Intel Merrifield

It seems that on Intel Merrifield platform the USB PHY shouldn't be suspended.
Otherwise it can't be enabled by simply change the cable in the connector.

Enable corresponding quirk for the platform in question.

Fixes: e5f4ca3fce90 ("usb: dwc3: ulpi: Fix USB2.0 HS/FS/LS PHY suspend regression")
Suggested-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210322125244.79407-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Andy Shevchenko and committed by
Greg Kroah-Hartman
b522f830 93f1d43c

+2
+2
drivers/usb/dwc3/dwc3-pci.c
··· 120 120 static const struct property_entry dwc3_pci_mrfld_properties[] = { 121 121 PROPERTY_ENTRY_STRING("dr_mode", "otg"), 122 122 PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"), 123 + PROPERTY_ENTRY_BOOL("snps,dis_u3_susphy_quirk"), 124 + PROPERTY_ENTRY_BOOL("snps,dis_u2_susphy_quirk"), 123 125 PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"), 124 126 {} 125 127 };