aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-08-15 14:11:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-08-15 14:11:55 +0000
commit169d68c98c6d9c7df824bed5b4d5bc7c39129666 (patch)
tree412a7fa301a9fabcc83f1b0289968321029ad3d2 /target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig
parent0ca16a4600ac2d51b068c8fa70361ed2f5f0edd7 (diff)
downloadupstream-169d68c98c6d9c7df824bed5b4d5bc7c39129666.tar.gz
upstream-169d68c98c6d9c7df824bed5b4d5bc7c39129666.tar.bz2
upstream-169d68c98c6d9c7df824bed5b4d5bc7c39129666.zip
ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net> SVN-Revision: 27997
Diffstat (limited to 'target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig')
-rw-r--r--target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig b/target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig
new file mode 100644
index 0000000000..6dd75f14a3
--- /dev/null
+++ b/target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig
@@ -0,0 +1,24 @@
+config DWC_OTG
+ tristate "Ralink RT305X DWC_OTG support"
+ depends on SOC_RT305X
+ ---help---
+ This driver supports Ralink DWC_OTG
+
+choice
+ prompt "USB Operation Mode"
+ depends on DWC_OTG
+ default DWC_OTG_HOST_ONLY
+
+config DWC_OTG_HOST_ONLY
+ bool "HOST ONLY MODE"
+ depends on DWC_OTG
+
+config DWC_OTG_DEVICE_ONLY
+ bool "DEVICE ONLY MODE"
+ depends on DWC_OTG
+
+endchoice
+
+config DWC_OTG_DEBUG
+ bool "Enable debug mode"
+ depends on DWC_OTG