diff mbox series

[v1] usb: dwc3: pci: Enable extcon driver for Intel Merrifield

Message ID 20200504093352.7981-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Mainlined
Commit 066c09593454e89bc605ffdff1c9810061f9b1e1
Headers show
Series [v1] usb: dwc3: pci: Enable extcon driver for Intel Merrifield | expand

Commit Message

Andy Shevchenko May 4, 2020, 9:33 a.m. UTC
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>
---
 drivers/usb/dwc3/dwc3-pci.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c
index 7051611229c983..b67372737dc9b2 100644
--- a/drivers/usb/dwc3/dwc3-pci.c
+++ b/drivers/usb/dwc3/dwc3-pci.c
@@ -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"),
 	{}
 };