Move the transfer process codes to work context becuase it lock the mutex, move bus reset process codes too because it calls some common udc apis (they may add mutex lock in future). Signed-off-by: Mark Wang <yichang.wang@nxp.com>
29 lines
750 B
Plaintext
29 lines
750 B
Plaintext
# Copyright 2024 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UDC_NXP_EHCI
|
|
bool "NXP MCUX USB EHCI Device controller driver"
|
|
default y
|
|
depends on DT_HAS_NXP_EHCI_ENABLED
|
|
select NOCACHE_MEMORY if HAS_MCUX_CACHE && CPU_HAS_DCACHE
|
|
imply UDC_BUF_FORCE_NOCACHE
|
|
imply UDC_WORKQUEUE
|
|
help
|
|
NXP MCUX USB Device Controller Driver for EHCI.
|
|
|
|
config UDC_NXP_IP3511
|
|
bool "NXP MCUX USB IP3511 Device controller driver"
|
|
default y
|
|
depends on DT_HAS_NXP_LPCIP3511_ENABLED
|
|
imply UDC_WORKQUEUE
|
|
help
|
|
NXP MCUX USB Device Controller Driver for IP3511.
|
|
|
|
config UDC_NXP_EVENT_COUNT
|
|
int "Number or blocks in event slab"
|
|
depends on UDC_NXP_EHCI || UDC_NXP_IP3511
|
|
range 4 16
|
|
default 4
|
|
help
|
|
Number of blocks in slab for internal controller events.
|