aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2021-02-28 12:51:27 +0100
committerZoltan HERPAI <wigyori@uid0.hu>2021-03-29 21:28:27 +0200
commit78c1ed64fa790032dd9f8364fc4d5166ce632609 (patch)
tree0acd88689cf684f5b7c8fca22c95171cfdab9db9 /target/linux
parentbb2d6ffe61546d6760e5c56ba02f3f2eb8114013 (diff)
downloadupstream-78c1ed64fa790032dd9f8364fc4d5166ce632609.tar.gz
upstream-78c1ed64fa790032dd9f8364fc4d5166ce632609.tar.bz2
upstream-78c1ed64fa790032dd9f8364fc4d5166ce632609.zip
sunxi: enable MUSB in A53 subtarget
The Pine64(+) and the SoPine64 baseboard has two USB ports. One of these (the lower) is connected directly to a USB host, the other one's (upper) PHY is shared with the separate OTG controller. In order to get it working, MUSB support needs to be enabled. As there are other targets which compile MUSB support into the kernel and not package it into modules, the same is done here. [ 1.348760] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 1.357029] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.364250] usb usb5: Product: MUSB HDRC host driver [ 1.369219] usb usb5: Manufacturer: Linux 5.4.99 musb-hcd [ 1.374617] usb usb5: SerialNumber: musb-hdrc.1.auto [ 1.379891] hub 5-0:1.0: USB hub found [ 1.383677] hub 5-0:1.0: 1 port detected [...] [ 697.299440] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 697.461855] usb 1-1: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00 [ 697.470038] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 697.477180] usb 1-1: Product: USB Flash Disk Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/sunxi/cortexa53/config-5.47
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/sunxi/cortexa53/config-5.4 b/target/linux/sunxi/cortexa53/config-5.4
index 203ab9fa38..1d8fd49d43 100644
--- a/target/linux/sunxi/cortexa53/config-5.4
+++ b/target/linux/sunxi/cortexa53/config-5.4
@@ -125,8 +125,10 @@ CONFIG_KVM_INDIRECT_VECTORS=y
CONFIG_MDIO_BUS_MUX=y
CONFIG_MICREL_PHY=y
CONFIG_MODULES_USE_ELF_RELA=y
+CONFIG_MUSB_PIO_ONLY=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_NO_IOPORT_MAP=y
+CONFIG_NOP_USB_XCEIV=y
CONFIG_PINCTRL_SUN50I_A64=y
CONFIG_PINCTRL_SUN50I_A64_R=y
CONFIG_PINCTRL_SUN50I_H5=y
@@ -150,5 +152,10 @@ CONFIG_SUN50I_H6_R_CCU=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_THREAD_INFO_IN_TASK=y
CONFIG_UNMAP_KERNEL_AT_EL0=y
+CONFIG_USB_MUSB_DUAL_ROLE=y
+# CONFIG_USB_MUSB_GADGET is not set
+CONFIG_USB_MUSB_HDRC=y
+# CONFIG_USB_MUSB_HOST is not set
+CONFIG_USB_MUSB_SUNXI=y
CONFIG_VMAP_STACK=y
CONFIG_ZONE_DMA32=y