Skip to contentSkip to conversation

configs: sei610: khadas-vim3 : disable Gadget support for the DWC3

PATCH New Jean-Jacques Hiblot 3 participants 3 messages Oct 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: sei610: khadas-vim3 : disable Gadget support for the DWC3

Those platform use the DWC2 controller for the gadget support and the DWC3 for host-only operations.

---

Applies on u-boot/master.
Fixes build breakage introduced by "usb: dwc3: Kconfig: get rid of obsolete mode selection"

 configs/khadas-vim3_defconfig | 1 +
 configs/sei610_defconfig      | 1 +
 2 files changed, 2 insertions(+)
configs/khadas-vim3_defconfig +1 -0
index cd37f7840e..81ac42e599 100644
@@ -44,6 +44,7 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
+# CONFIG_USB_DWC3_GADGET is not set
 CONFIG_USB_DWC3_MESON_G12A=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_VENDOR_NUM=0x1b8e
configs/sei610_defconfig +1 -0
index 520a683d2e..1f36722a8e 100644
@@ -62,6 +62,7 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
+# CONFIG_USB_DWC3_GADGET is not set
 CONFIG_USB_DWC3_MESON_G12A=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_VENDOR_NUM=0x18d1
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 configs: sei610: khadas-vim3 : disable Gadget support for the DWC3

Quoted 32 lines · Jean-Jacques Hiblot

Those platform use the DWC2 controller for the gadget support and the DWC3 for host-only operations.

---

Applies on u-boot/master.
Fixes build breakage introduced by "usb: dwc3: Kconfig: get rid of obsolete mode selection"

 configs/khadas-vim3_defconfig | 1 +
 configs/sei610_defconfig      | 1 +
 2 files changed, 2 insertions(+)
configs/khadas-vim3_defconfig +1 -0
index cd37f7840e..81ac42e599 100644
@@ -44,6 +44,7 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
+# CONFIG_USB_DWC3_GADGET is not set
 CONFIG_USB_DWC3_MESON_G12A=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_VENDOR_NUM=0x1b8e
configs/sei610_defconfig +0 -0
index 520a683d2e..1f36722a8e 100644

configs/sei610_defconfig CONFIG_DM_USB=y · line 68

Quoted 7 lines
configs/sei610_defconfig +1 -0
@@ -62,6 +62,7 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
+# CONFIG_USB_DWC3_GADGET is not set
 CONFIG_USB_DWC3_MESON_G12A=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_VENDOR_NUM=0x18d1
Applied
#2 lore raw

PATCH 1/1 configs: sei610: khadas-vim3 : disable Gadget support for the DWC3

In reply to Jean-Jacques Hiblot
Quoted 2 lines · Jean-Jacques Hiblot

Those platform use the DWC2 controller for the gadget support and the DWC3 for host-only operations.

Applied, thanks.