summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:23:34 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:23:34 -0600
commitd2354371f2976f80e06b19570596e144855bbec4 (patch)
tree574ca313e37edd8bf628e8f31e0c9ac850feecf6 /arch
parent7f2be6c1f6dfb9b5fc7c5525735e765010c51db2 (diff)
USB: cleanup Kconfig options.
Patch to fix Bugzilla 745, 746, 747. USB: Clean up Kconfig options. - remove prompts from options in arch/arm/plat-mxc/Kconfig. these are auto-selected, and don't need to be visible to the user. - restore CONFIG_TRANSCEIVER_MXC_OTG back to the original CONFIG_ISP1504_MXC_OTG, since this is isp1504 specific, and add the hidden CONFIG_ISP1504_MXC_OTG to arch/arm/plat-mxc/Kconfig which is automatically selected instead of adding a user-visable option. - along with that, we can remove drivers/usb/otg/Kconfig, and its inclusion from drivers/usb/Kconfig - replace a bunch of _ARC_ names with _FSL_ names. Still needs more work. - fix misspellings, typos, etc. Applies to linux 2.6.22 kernel for MX platforms. http://www.bitshrine.org/gpp/linux-2.6.22-mx-USB-cleanup-Kconfig-options2.patch
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-mxc/Kconfig55
1 files changed, 28 insertions, 27 deletions
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig
index cd72fd35d7e7..b2b8889d9ab4 100644
--- a/arch/arm/plat-mxc/Kconfig
+++ b/arch/arm/plat-mxc/Kconfig
@@ -39,51 +39,52 @@ config MXC_FB_IRAM
depends on ARCH_MXC
config ISP1504_MXC
- bool "ISP1504 transceiver support"
- depends on USB_ARCH_HAS_EHCI
- help
- Support for the ISP1504 USB transceiver on MXC platforms.
+ bool
+ select ISP1504_MXC_OTG if USB_GADGET && USB_EHCI_HCD && USB_OTG
+ default y if USB_EHCI_FSL_1504 || USB_EHCI_ARC_H2 || USB_GADGET_FSL_1504
-choice
- prompt "Select serial USB transceiver"
- depends on USB_EHCI_ARC_OTGFS || USB_GADGET_ARC_OTGFS
+config ISP1504_MXC_OTG
+ tristate
+ help
+ Support for USB OTG pin detect using the ISP1504 transceiver on MXC platforms.
config ISP1301_MXC
- bool "ISP1301 transceiver support"
+ bool
+ default y if USB_EHCI_FSL_1301 || USB_GADGET_FSL_1301
select I2C_MXC
- help
- Support for the ISP1301 USB transceiver on MXC platforms.
config MC13783_MXC
- bool "MC13783 transceiver support"
+ bool
+ default y if USB_EHCI_FSL_MC13783 || USB_GADGET_FSL_MC13783
select SPI_MXC
- help
- Support for the MC13783 USB transceiver on MXC platforms.
-endchoice
choice
- prompt "Select serial USB mode"
+ prompt "Select serial USB transceiver mode"
depends on ISP1301_MXC || MC13783_MXC
-
-config MXC_USB_SB3
- bool "USB Single End Bidirection Mode"
- help
- If you say yes to this option, the serial tranceiver is on SB3 mode
+ default MXC_USB_SU6
config MXC_USB_SU6
- bool "USB Single End Unidirection Mode"
+ bool "Single Ended Unidirectional Mode"
help
- If you say yes to this option, the serial tranceiver is on SU6 mode
+ If you say yes to this option, the serial tranceiver operates in SU6 mode.
+ This option will work for either the Freescale MC13783 or Philips ISP1301
+ transceiver.
-config MXC_USB_DB4
- bool "USB Differential Bidirection Mode"
+config MXC_USB_SB3
+ bool "Single Ended Bidirectional Mode"
help
- If you say yes to this option, the serial tranceiver is on DB4 mode
+ If you say yes to this option, the serial tranceiver operates in SB3 mode.
+ Not recommended for the Freescale MC13783.
config MXC_USB_DU6
- bool "USB Differential Unidirection Mode"
+ bool "Differential Unidirectional Mode"
+ help
+ If you say yes to this option, the serial tranceiver operates in DU6 mode.
+
+config MXC_USB_DB4
+ bool "Differential Bidirectional Mode"
help
- If you say yes to this option, the serial tranceiver is on DU6 mode
+ If you say yes to this option, the serial tranceiver operates in DB4 mode.
endchoice