usb: dwc3: Add driver for Xilinx platforms
authorManish Narani <manish.narani@xilinx.com>
Wed, 17 Mar 2021 06:52:29 +0000 (12:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 11:48:14 +0000 (12:48 +0100)
commit84770f028fabab4cb66188d583ed12652f30576b
tree7eb5ac89cc113ba236e19fb14e1cd98647416fb2
parentcaef9f0716b4b24daea36f8af74d6b1698221051
usb: dwc3: Add driver for Xilinx platforms

Add a new driver for supporting Xilinx platforms. This driver is used
for some sequence of operations required for Xilinx USB controllers.
This driver is also used to choose between PIPE clock coming from SerDes
and the Suspend Clock. Before the controller is out of reset, the clock
selection should be changed to PIPE clock in order to make the USB
controller work. There is a register added in Xilinx USB controller
register space for the same.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Link: https://lore.kernel.org/r/1615963949-75320-3-git-send-email-manish.narani@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/Kconfig
drivers/usb/dwc3/Makefile
drivers/usb/dwc3/dwc3-of-simple.c
drivers/usb/dwc3/dwc3-xilinx.c [new file with mode: 0644]