2017-03-31 20:35:36 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
2020-02-15 21:38:35 +08:00
|
|
|
menuconfig USBMISC
|
|
|
|
bool "USB Miscellaneous drivers"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
USB Miscellaneous drivers.
|
2020-02-08 15:30:09 +08:00
|
|
|
|
2020-02-15 21:38:35 +08:00
|
|
|
if USBMISC
|
2017-03-31 20:35:36 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
2023-02-09 01:56:21 +08:00
|
|
|
config FUSB302
|
|
|
|
bool "On Semiconductor FUSB302 USB Type-C controller support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable device driver for Fairchild/On Semiconductor USB Type-C controller
|
|
|
|
|
|
|
|
if FUSB302
|
|
|
|
|
|
|
|
config FUSB302_NPOLLWAITERS
|
|
|
|
int "Number of waiters to poll"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Maximum number of threads that can be waiting on poll()
|
|
|
|
|
|
|
|
config DEBUG_FUSB302_REG
|
|
|
|
bool "Enable register dumps for debug"
|
|
|
|
default n
|
|
|
|
|
|
|
|
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
|
2020-02-08 15:30:09 +08:00
|
|
|
|
|
|
|
endif # USBMISC
|