zephyr/drivers/usb/uhc/Kconfig.max3421e
Johann Fischer da639954c1 drivers: usb: add common layer of UHC API and MAX3421E driver
Add common layer of UHC API and MAX3421E host controller driver.
This implements the bare minimum necessary to communicate with
one peripheral device.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2022-12-16 13:21:12 +01:00

30 lines
672 B
Plaintext

# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_UHC_MAX3421E := maxim,max3421e_spi
config UHC_MAX3421E
bool "MAX3421E driver"
default y
depends on DT_HAS_MAXIM_MAX3421E_SPI_ENABLED
select SPI
help
This option enables MAX3421E USB Peripheral/Host Controller with SPI
Interface.
if UHC_MAX3421E
config MAX3421E_THREAD_STACK_SIZE
int "Driver internal thread stack size"
default 512
help
Size of the stack used in the driver.
config MAX3421E_OSC_WAIT_RETRIES
int "Maximum retries for oscillator ready event"
default 3
help
Specify the number of retries for oscillator ready event.
endif #UHC_MAX3421E