Commit e1d2e319 authored by Anton Tikhomirov's avatar Anton Tikhomirov Committed by Felipe Balbi

usb: phy: Add OTG FSM configuration option

This patch removes dependency on Freescale USB UTG Transceiver
driver and makes OTG FSM implementation selectable.
Signed-off-by: default avatarAnton Tikhomirov <av.tikhomirov@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 5653668c
...@@ -6,6 +6,14 @@ menu "USB Physical Layer drivers" ...@@ -6,6 +6,14 @@ menu "USB Physical Layer drivers"
config USB_PHY config USB_PHY
def_bool n def_bool n
config USB_OTG_FSM
bool "USB 2.0 OTG FSM implementation"
select USB_OTG
select USB_PHY
help
Implements OTG Final State Machine as specified in On-The-Go
and Embedded Host Supplement to the USB Revision 2.0 Specification.
# #
# USB Transceiver Drivers # USB Transceiver Drivers
# #
...@@ -20,7 +28,7 @@ config AB8500_USB ...@@ -20,7 +28,7 @@ config AB8500_USB
config FSL_USB2_OTG config FSL_USB2_OTG
bool "Freescale USB OTG Transceiver Driver" bool "Freescale USB OTG Transceiver Driver"
depends on USB_EHCI_FSL && USB_FSL_USB2 && PM_RUNTIME depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME
select USB_OTG select USB_OTG
select USB_PHY select USB_PHY
help help
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
# #
obj-$(CONFIG_USB_PHY) += phy.o obj-$(CONFIG_USB_PHY) += phy.o
obj-$(CONFIG_OF) += of.o obj-$(CONFIG_OF) += of.o
obj-$(CONFIG_USB_OTG_FSM) += phy-fsm-usb.o
# transceiver drivers, keep the list sorted # transceiver drivers, keep the list sorted
obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o
phy-fsl-usb2-objs := phy-fsl-usb.o phy-fsm-usb.o obj-$(CONFIG_FSL_USB2_OTG) += phy-fsl-usb.o
obj-$(CONFIG_FSL_USB2_OTG) += phy-fsl-usb2.o
obj-$(CONFIG_ISP1301_OMAP) += phy-isp1301-omap.o obj-$(CONFIG_ISP1301_OMAP) += phy-isp1301-omap.o
obj-$(CONFIG_MV_U3D_PHY) += phy-mv-u3d-usb.o obj-$(CONFIG_MV_U3D_PHY) += phy-mv-u3d-usb.o
obj-$(CONFIG_NOP_USB_XCEIV) += phy-generic.o obj-$(CONFIG_NOP_USB_XCEIV) += phy-generic.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment