summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-15 14:11:55 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-15 14:11:55 +0000
commita6ff6c1f36b886b61a08ac89996ee15340e6fc64 (patch)
tree23cf42f4b229a588b1a018b63afebc6df3b55a83 /target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig
parentbf5f735641b53a1e47871f8aa04d2956a427c3bc (diff)
ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27997 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..6dd75f14a
--- /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