Skip to content

Commit 88861a2

Browse files
rmsilvaMarek Vasut
authored andcommitted
usb: add isp1760 family driver
ISP1760/61/63 are a family of usb controllers, here the main goal is to support the ISP1763 hcd part found in the MPS3 FPGA board form Arm. This is based on the kernel driver and ported to u-boot. Signed-off-by: Rui Miguel Silva <[email protected]>
1 parent b2d2b78 commit 88861a2

File tree

13 files changed

+3575
-0
lines changed

13 files changed

+3575
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,7 @@ libs-y += drivers/usb/host/
847847
libs-y += drivers/usb/mtu3/
848848
libs-y += drivers/usb/musb/
849849
libs-y += drivers/usb/musb-new/
850+
libs-y += drivers/usb/isp1760/
850851
libs-y += drivers/usb/phy/
851852
libs-y += drivers/usb/ulpi/
852853
ifdef CONFIG_POST

drivers/usb/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ config SPL_DM_USB_GADGET
6868

6969
source "drivers/usb/host/Kconfig"
7070

71+
source "drivers/usb/isp1760/Kconfig"
72+
7173
source "drivers/usb/cdns3/Kconfig"
7274

7375
source "drivers/usb/dwc3/Kconfig"

drivers/usb/common/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#
55

66
obj-$(CONFIG_$(SPL_)DM_USB) += common.o
7+
obj-$(CONFIG_USB_ISP1760) += usb_urb.o
78
obj-$(CONFIG_USB_MUSB_HOST) += usb_urb.o
89
obj-$(CONFIG_USB_MUSB_GADGET) += usb_urb.o
910
obj-$(CONFIG_USB_R8A66597_HCD) += usb_urb.o

drivers/usb/isp1760/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
3+
config USB_ISP1760
4+
tristate "NXP ISP 1760/1761/1763 support"
5+
select DM_USB
6+
select USB_HOST
7+
help
8+
Say Y or M here if your system as an ISP1760/1761/1763 USB host
9+
controller.
10+
11+
This USB controller is usually attached to a non-DMA-Master
12+
capable bus.

drivers/usb/isp1760/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
isp1760-y := isp1760-core.o isp1760-if.o isp1760-uboot.o isp1760-hcd.o
3+
4+
#isp1760-hcd.o
5+
6+
obj-$(CONFIG_USB_ISP1760) += isp1760.o

0 commit comments

Comments
 (0)