OSDN Git Service

usb: dwc3: pci: Intel Merrifield can be host
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Jul 2018 11:48:57 +0000 (14:48 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 30 Jul 2018 07:39:16 +0000 (10:39 +0300)
commitc31d983beaf04e6754918aa1073f053b12efb700
tree7fb07ef881da379effe143f4e0e74a4db909737e
parent1a7b12f69a9434a766e77c43d113826f0413b032
usb: dwc3: pci: Intel Merrifield can be host

On Intel Edison board the OTG function is enabled, thus,
USB can switch to the host mode.

Allow that by changing dr_mode property to "otg" for Intel Merrifield.

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