summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc2/Kconfig
diff options
context:
space:
mode:
authorJohn Youn <John.Youn@synopsys.com>2015-03-04 04:17:49 +0300
committerFelipe Balbi <balbi@ti.com>2015-03-11 23:08:17 +0300
commit9024c495f35be735a917571406fab30a789c27d1 (patch)
treea4d16aa96cb6f763689601bb6d0286f96b67dca0 /drivers/usb/dwc2/Kconfig
parent005a64307d5d3ef895e7821df4cad7739bab392e (diff)
downloadlinux-9024c495f35be735a917571406fab30a789c27d1.tar.xz
usb: dwc2: pci: Add device mode to the dwc2-pci driver
The pci driver now registers a platform driver, like in dwc3, and lets its probe function do all the initialization. This allows it to account for changes to the platform driver that were not added to the pci driver. Also future changes to the probe function don't have to be duplicated. This also has the effect of adding device and DRD mode to the pci driver. Tested on the Synopsys HAPS PCIe platform. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/Kconfig')
-rw-r--r--drivers/usb/dwc2/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig
index 76b9ba4dc925..3db204f21ff9 100644
--- a/drivers/usb/dwc2/Kconfig
+++ b/drivers/usb/dwc2/Kconfig
@@ -59,11 +59,12 @@ config USB_DWC2_PLATFORM
config USB_DWC2_PCI
tristate "DWC2 PCI"
- depends on USB_DWC2_HOST && PCI
- default USB_DWC2_HOST
+ depends on PCI
+ default n
+ select USB_DWC2_PLATFORM
help
The Designware USB2.0 PCI interface module for controllers
- connected to a PCI bus. This is only used for host mode.
+ connected to a PCI bus.
config USB_DWC2_DEBUG
bool "Enable Debugging Messages"