1# Copyright (c) 2024 Renesas Electronics Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4config UDC_RENESAS_RA
5	bool "Renesas RA family UDC driver"
6	default y
7	depends on DT_HAS_RENESAS_RA_UDC_ENABLED
8	select USE_RA_FSP_USB_DEVICE
9	select PINCTRL
10	help
11	  Enable Renesas RA family UDC driver.
12
13if UDC_RENESAS_RA
14
15config UDC_RENESAS_RA_STACK_SIZE
16	int "UDC controller driver internal thread stack size"
17	default 512
18	help
19	  Renesas RA device controller driver internal thread stack size.
20
21config UDC_RENESAS_RA_THREAD_PRIORITY
22	int "Renesas RA family UDC driver thread priority"
23	default 8
24	help
25	  Renesas RA device controller driver thread priority.
26
27config UDC_RENESAS_RA_MAX_QMESSAGES
28	int "Renesas RA family UDC driver maximum number of ISR event messages"
29	range 4 64
30	default 8
31	help
32	  Maximum number of messages for handling of Renesas RA USBD ISR events.
33
34endif
35