1# Copyright (c) 2022 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4DT_COMPAT_UHC_MAX3421E := maxim,max3421e_spi
5
6config UHC_MAX3421E
7	bool "MAX3421E driver"
8	default y
9	depends on DT_HAS_MAXIM_MAX3421E_SPI_ENABLED
10	select SPI
11	help
12	  This option enables MAX3421E USB Peripheral/Host Controller with SPI
13	  Interface.
14
15if UHC_MAX3421E
16
17config MAX3421E_THREAD_STACK_SIZE
18	int "Driver internal thread stack size"
19	default 512
20	help
21	  Size of the stack used in the driver.
22
23config MAX3421E_OSC_WAIT_RETRIES
24	int "Maximum retries for oscillator ready event"
25	default 3
26	help
27	  Specify the number of retries for oscillator ready event.
28
29endif #UHC_MAX3421E
30