incubator-nuttx/drivers/usbmisc/Kconfig

67 lines
1.3 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if USBMISC
comment "USB Miscellaneous drivers"
config FUSB301
bool "On Semiconductor FUSB301 USB Type-C controller support"
default n
select I2C
---help---
Enable device driver for Fairchild/On Semiconductor USB Type-C controller
if FUSB301
config FUSB301_I2C_FREQUENCY
int "FUSB301 I2C frequency"
default 400000
range 1 400000
config DEBUG_FUSB301
bool "Enable debug support for the FUSB301"
default n
---help---
Enables debug support for the FUSB301
config FUSB301_NPOLLWAITERS
int "Number of waiters to poll"
default 2
---help---
Maximum number of threads that can be waiting on poll()
endif
config FUSB303
bool "On Semiconductor FUSB303 USB Type-C controller support"
default n
select I2C
---help---
Enable device driver for Fairchild/On Semiconductor USB Type-C controller
if FUSB303
config FUSB303_I2C_FREQUENCY
int "FUSB303 I2C frequency"
default 400000
range 1 400000
config DEBUG_FUSB303
bool "Enable debug support for the FUSB303"
default n
---help---
Enables debug support for the FUSB303
config FUSB303_NPOLLWAITERS
int "Number of waiters to poll"
default 2
---help---
Maximum number of threads that can be waiting on poll()
endif
endif # USBMISC