File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,22 @@ config UDC_DWC2
1212help
1313 DWC2 USB device controller driver.
1414
15+ if UDC_DWC2
16+
1517config UDC_DWC2_DMA
1618bool "DWC2 USB DMA support"
1719default y
18- depends on UDC_DWC2
1920help
2021 Enable Buffer DMA if DWC2 USB controller supports Internal DMA.
2122
2223config UDC_DWC2_HIBERNATION
2324bool "DWC2 USB Hibernation support"
2425default y
25- depends on UDC_DWC2
2626help
2727 Enable Hibernation if DWC2 USB controller supports hibernation.
2828
2929config UDC_DWC2_PTI
3030bool "DWC2 USB Periodic Transfer Interrupt"
31- depends on UDC_DWC2
3231help
3332 Ignore frame number when scheduling isochronous endpoints. Use this
3433 when isochronous transfers should finish only after receiving token
@@ -38,24 +37,23 @@ config UDC_DWC2_PTI
3837
3938config UDC_DWC2_STACK_SIZE
4039int "UDC DWC2 driver internal thread stack size"
41- depends on UDC_DWC2
4240default 512
4341help
4442 DWC2 driver internal thread stack size.
4543
4644config UDC_DWC2_THREAD_PRIORITY
4745int "UDC DWC2 driver thread priority"
48- depends on UDC_DWC2
4946default 8
5047help
5148 DWC2 driver thread priority.
5249
5350config UDC_DWC2_USBHS_VBUS_READY_TIMEOUT
5451int "UDC DWC2 USBHS VBUS ready event timeout in ms"
55- depends on UDC_DWC2
5652depends on NRFS_HAS_VBUS_DETECTOR_SERVICE
5753default 0
5854help
5955 UDC DWC2 USBHS VBUS ready event timeout. If the VBUS is not ready
6056 and the Nordic USBHS controller is used, the udc_enable() is
6157 blocked for this amount of time. Set it to zero to wait forever.
58+
59+ endif # UDC_DWC2
You can’t perform that action at this time.
0 commit comments