Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/usb/udc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ zephyr_library()
zephyr_library_sources(udc_common.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers/usb/common/)

zephyr_library_sources_ifdef(CONFIG_UDC_BFLB_BL61X udc_bflb_bl61x.c)
zephyr_library_sources_ifdef(CONFIG_UDC_DWC2 udc_dwc2.c)
zephyr_library_sources_ifdef(CONFIG_UDC_NRF udc_nrf.c)
zephyr_library_sources_ifdef(CONFIG_UDC_KINETIS udc_kinetis.c)
Expand Down
1 change: 1 addition & 0 deletions drivers/usb/udc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ module = UDC_DRIVER
module-str = usb drv
source "subsys/logging/Kconfig.template.log_config"

source "drivers/usb/udc/Kconfig.bflb"
source "drivers/usb/udc/Kconfig.dwc2"
source "drivers/usb/udc/Kconfig.nrf"
source "drivers/usb/udc/Kconfig.kinetis"
Expand Down
22 changes: 22 additions & 0 deletions drivers/usb/udc/Kconfig.bflb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (c) 2024-2025 MASSDRIVER EI (massdriver.space)
# SPDX-License-Identifier: Apache-2.0

config UDC_BFLB_BL61X
bool "BL61x USB device controller driver"
select UDC_DRIVER_HAS_HIGH_SPEED_SUPPORT
imply UDC_WORKQUEUE
default y
depends on DT_HAS_BFLB_BL61X_UDC_ENABLED
help
Bouffalolab BL61x USB device controller driver

if UDC_BFLB_BL61X

config UDC_BFLB_BL61X_EVENT_COUNT
int "Number or blocks in event slab"
range 4 16
default 8
help
Number of blocks in slab for internal endpoint events.

endif # UDC_BFLB_BL61X
Loading