diff -drupN a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig --- a/drivers/usb/dwc2/Kconfig 2017-10-21 18:09:07.000000000 +0300 +++ b/drivers/usb/dwc2/Kconfig 2022-06-09 05:02:34.000000000 +0300 @@ -50,6 +50,22 @@ config USB_DWC2_DUAL_ROLE option requires USB_GADGET to be enabled. endchoice + +choice + bool "DWC2 DMA Mode Selection" + default USB_DWC2_DMA_BUFFER_MODE +config USB_DWC2_DMA_BUFFER_MODE + bool "dma buffer mode" + +config USB_DWC2_DMA_DESCRIPTOR_MODE + bool "dma descriptor mode" +endchoice + +config USB_DWC2_HIGHWIDTH_FIFO + bool "Enable usb dwc2 highwidth fifo" + help + Say Y here to enable debugging messages in the DWC2 Driver. + config USB_DWC2_PCI tristate "DWC2 PCI" depends on PCI