mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
453f775588
Description: This driver is used for Intel Langwell* USB OTG controller in Intel Moorestown* platform. It tries to implement host/device role switch according to OTG spec. The actual hsot and device functions are accomplished in modified EHCI driver and Intel Langwell USB OTG client controller driver. * Langwell and Moorestown are names used in development. They are not approved official name. Note: This patch is the first version Intel Langwell USB OTG Transceiver driver. The development is not finished, and the bug fixing is on going for some hardware and software issues. The main purpose of this submission is for code view. Supported features: - Data-line Pulsing SRP - Support HNP to switch roles - PCI D0/D3 power management support Known issues: - HNP is only tested with another Moorestown platform. - PCI D0/D3 power management support is not fully tested. - VBus Pulsing SRP is not support in current version. Signed-off-by: Hao Wu <hao.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
#
|
|
# USB OTG infrastructure may be needed for peripheral-only, host-only,
|
|
# or OTG-capable configurations when OTG transceivers or controllers
|
|
# are used.
|
|
#
|
|
|
|
comment "OTG and related infrastructure"
|
|
|
|
config USB_OTG_UTILS
|
|
bool
|
|
help
|
|
Select this to make sure the build includes objects from
|
|
the OTG infrastructure directory.
|
|
|
|
if USB || USB_GADGET
|
|
|
|
#
|
|
# USB Transceiver Drivers
|
|
#
|
|
config USB_GPIO_VBUS
|
|
tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
|
|
depends on GENERIC_GPIO
|
|
select USB_OTG_UTILS
|
|
help
|
|
Provides simple GPIO VBUS sensing for controllers with an
|
|
internal transceiver via the otg_transceiver interface, and
|
|
optionally control of a D+ pullup GPIO as well as a VBUS
|
|
current limit regulator.
|
|
|
|
config ISP1301_OMAP
|
|
tristate "Philips ISP1301 with OMAP OTG"
|
|
depends on I2C && ARCH_OMAP_OTG
|
|
select USB_OTG_UTILS
|
|
help
|
|
If you say yes here you get support for the Philips ISP1301
|
|
USB-On-The-Go transceiver working with the OMAP OTG controller.
|
|
The ISP1301 is a full speed USB transceiver which is used in
|
|
products including H2, H3, and H4 development boards for Texas
|
|
Instruments OMAP processors.
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
will be called isp1301_omap.
|
|
|
|
config TWL4030_USB
|
|
tristate "TWL4030 USB Transceiver Driver"
|
|
depends on TWL4030_CORE && REGULATOR_TWL4030
|
|
select USB_OTG_UTILS
|
|
help
|
|
Enable this to support the USB OTG transceiver on TWL4030
|
|
family chips (including the TWL5030 and TPS659x0 devices).
|
|
This transceiver supports high and full speed devices plus,
|
|
in host mode, low speed.
|
|
|
|
config NOP_USB_XCEIV
|
|
tristate "NOP USB Transceiver Driver"
|
|
select USB_OTG_UTILS
|
|
help
|
|
this driver is to be used by all the usb transceiver which are either
|
|
built-in with usb ip or which are autonomous and doesn't require any
|
|
phy programming such as ISP1x04 etc.
|
|
|
|
config USB_LANGWELL_OTG
|
|
tristate "Intel Langwell USB OTG dual-role support"
|
|
depends on USB && MRST
|
|
select USB_OTG
|
|
select USB_OTG_UTILS
|
|
help
|
|
Say Y here if you want to build Intel Langwell USB OTG
|
|
transciever driver in kernel. This driver implements role
|
|
switch between EHCI host driver and Langwell USB OTG
|
|
client driver.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called langwell_otg.
|
|
|
|
endif # USB || OTG
|