mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
![Tony Lindgren](/assets/img/avatar_default.png)
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>
23 lines
634 B
Makefile
23 lines
634 B
Makefile
#
|
|
# Makefile for the phy drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_GENERIC_PHY) += phy-core.o
|
|
obj-$(CONFIG_PHY_LPC18XX_USB_OTG) += phy-lpc18xx-usb-otg.o
|
|
obj-$(CONFIG_PHY_MT65XX_USB3) += phy-mt65xx-usb3.o
|
|
obj-$(CONFIG_PHY_XGENE) += phy-xgene.o
|
|
obj-$(CONFIG_PHY_PISTACHIO_USB) += phy-pistachio-usb.o
|
|
|
|
obj-$(CONFIG_ARCH_SUNXI) += allwinner/
|
|
obj-$(CONFIG_ARCH_MESON) += amlogic/
|
|
obj-$(CONFIG_ARCH_RENESAS) += renesas/
|
|
obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
|
|
obj-$(CONFIG_ARCH_TEGRA) += tegra/
|
|
obj-y += broadcom/ \
|
|
hisilicon/ \
|
|
marvell/ \
|
|
motorola/ \
|
|
qualcomm/ \
|
|
samsung/ \
|
|
st/ \
|
|
ti/
|