2017-03-31 20:35:36 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
comment "USB Miscellaneous drivers"
|
|
|
|
|
|
|
|
config FUSB301
|
2019-05-17 20:59:35 +08:00
|
|
|
bool "On Semiconductor FUSB301 USB Type-C controller support"
|
2017-03-31 20:35:36 +08:00
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
2019-05-17 20:59:35 +08:00
|
|
|
Enable device driver for Fairchild/On Semiconductor USB Type-C controller
|
2017-03-31 20:35:36 +08:00
|
|
|
|
|
|
|
if FUSB301
|
|
|
|
|
2017-06-01 20:19:54 +08:00
|
|
|
config FUSB301_I2C_FREQUENCY
|
|
|
|
int "FUSB301 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
2017-03-31 20:35:36 +08:00
|
|
|
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
|
2019-05-17 20:59:35 +08:00
|
|
|
|
|
|
|
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
|