zephyr/drivers/usb/uhc/Kconfig
Johann Fischer c052b05415 usb: host: use USB buffer macros
Allow to use DMAable buffers in UHC driver and host support.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-02-24 16:01:21 -06:00

50 lines
1.1 KiB
Text

# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
menuconfig UHC_DRIVER
bool "USB host controller drivers [EXPERIMENTAL]"
select EXPERIMENTAL
select NET_BUF
help
USB host controller driver.
if UHC_DRIVER
config UHC_XFER_COUNT
int "Number of transfers in the pool"
range 2 256
default 16
help
Number of UHC transfers available.
config UHC_BUF_COUNT
int "Number of buffers in the pool"
range 16 256
default 16
help
Number of UHC request buffers in the pool.
config UHC_BUF_POOL_SIZE
int "Memory available for buffers"
range 64 32768
default 1024
help
Total amount of memory available for UHC buffers.
config UHC_BUF_FORCE_NOCACHE
bool
depends on NOCACHE_MEMORY && DCACHE
help
Place the buffer pools in the nocache memory region if the driver
cannot handle buffers in cached memory.
module = UHC_DRIVER
module-str = uhc drv
source "subsys/logging/Kconfig.template.log_config"
source "drivers/usb/uhc/Kconfig.max3421e"
source "drivers/usb/uhc/Kconfig.virtual"
source "drivers/usb/uhc/Kconfig.mcux"
endif # UHC_DRIVER