usb: dwc3: pci: Enable extcon driver for Intel Merrifield
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 May 2020 09:33:52 +0000 (12:33 +0300)
committerFelipe Balbi <balbi@kernel.org>
Sat, 9 May 2020 08:04:50 +0000 (11:04 +0300)
Intel Merrifield provides a DR support via PMIC which has its own
extcon driver.

Add a property string to link to that driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc3/dwc3-pci.c

index 7051611..b673727 100644 (file)
@@ -114,6 +114,7 @@ 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("linux,sysdev_is_parent"),
        {}
 };