lkml.org 
[lkml]   [2021]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.11 126/152] usb: dwc3: pci: Enable dis_uX_susphy_quirk for Intel Merrifield
    Date
    From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

    [ Upstream commit b522f830d35189e0283fa4d5b4b3ef8d7a78cfcb ]

    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>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/usb/dwc3/dwc3-pci.c | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c
    index bae6a70664c8..598daed8086f 100644
    --- a/drivers/usb/dwc3/dwc3-pci.c
    +++ b/drivers/usb/dwc3/dwc3-pci.c
    @@ -118,6 +118,8 @@ static const struct property_entry dwc3_pci_intel_properties[] = {
    static const struct property_entry dwc3_pci_mrfld_properties[] = {
    PROPERTY_ENTRY_STRING("dr_mode", "otg"),
    PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"),
    + PROPERTY_ENTRY_BOOL("snps,dis_u3_susphy_quirk"),
    + PROPERTY_ENTRY_BOOL("snps,dis_u2_susphy_quirk"),
    PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"),
    {}
    };
    --
    2.30.2


    \
     
     \ /
      Last update: 2021-04-05 11:41    [W:4.420 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site