forked from luck/tmp_suning_uos_patched
6d6ce40f63
Some Motorola phones like droid 4 use a custom CPCAP PMIC that has a multiplexing USB PHY. This USB PHY can operate at least in four modes using pin multiplexing and two control GPIOS: - Pass through companion PHY for the SoC USB PHY - ULPI PHY for the SoC - Pass through USB for the modem - UART debug console for the SoC This patch adds support for droid 4 USB PHY and debug UART modes, support for other modes can be added later on as needed. Both peripheral and host mode are working for the USB. The host mode depends on the cpcap-charger driver for VBUS. VBUS and ID pin detection are done using cpcap-adc IIO ADC driver. Cc: devicetree@vger.kernel.org Cc: Marcel Partap <mpartap@gmx.net> Cc: Michael Scott <michael.scott@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Tested-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
66 lines
1.8 KiB
Plaintext
66 lines
1.8 KiB
Plaintext
#
|
|
# PHY
|
|
#
|
|
|
|
menu "PHY Subsystem"
|
|
|
|
config GENERIC_PHY
|
|
bool "PHY Core"
|
|
help
|
|
Generic PHY support.
|
|
|
|
This framework is designed to provide a generic interface for PHY
|
|
devices present in the kernel. This layer will have the generic
|
|
API by which phy drivers can create PHY using the phy framework and
|
|
phy users can obtain reference to the PHY. All the users of this
|
|
framework should select this config.
|
|
|
|
config PHY_LPC18XX_USB_OTG
|
|
tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver"
|
|
depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
|
|
depends on MFD_SYSCON
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support NXP LPC18xx/43xx internal USB OTG PHY.
|
|
|
|
This driver is need for USB0 support on LPC18xx/43xx and takes
|
|
care of enabling and clock setup.
|
|
|
|
config PHY_MT65XX_USB3
|
|
tristate "Mediatek USB3.0 PHY Driver"
|
|
depends on ARCH_MEDIATEK && OF
|
|
select GENERIC_PHY
|
|
help
|
|
Say 'Y' here to add support for Mediatek USB3.0 PHY driver,
|
|
it supports multiple usb2.0 and usb3.0 ports.
|
|
|
|
config PHY_PISTACHIO_USB
|
|
tristate "IMG Pistachio USB2.0 PHY driver"
|
|
depends on MACH_PISTACHIO
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
|
|
|
|
config PHY_XGENE
|
|
tristate "APM X-Gene 15Gbps PHY support"
|
|
depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
help
|
|
This option enables support for APM X-Gene SoC multi-purpose PHY.
|
|
|
|
source "drivers/phy/allwinner/Kconfig"
|
|
source "drivers/phy/amlogic/Kconfig"
|
|
source "drivers/phy/broadcom/Kconfig"
|
|
source "drivers/phy/hisilicon/Kconfig"
|
|
source "drivers/phy/marvell/Kconfig"
|
|
source "drivers/phy/motorola/Kconfig"
|
|
source "drivers/phy/qualcomm/Kconfig"
|
|
source "drivers/phy/renesas/Kconfig"
|
|
source "drivers/phy/rockchip/Kconfig"
|
|
source "drivers/phy/samsung/Kconfig"
|
|
source "drivers/phy/st/Kconfig"
|
|
source "drivers/phy/tegra/Kconfig"
|
|
source "drivers/phy/ti/Kconfig"
|
|
|
|
endmenu
|