Kconfig 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see misc/tools/kconfig-language.txt.
  4. #
  5. menuconfig USBMISC
  6. bool "USB Miscellaneous drivers"
  7. default n
  8. ---help---
  9. USB Miscellaneous drivers.
  10. if USBMISC
  11. config FUSB301
  12. bool "On Semiconductor FUSB301 USB Type-C controller support"
  13. default n
  14. select I2C
  15. ---help---
  16. Enable device driver for Fairchild/On Semiconductor USB Type-C controller
  17. if FUSB301
  18. config FUSB301_I2C_FREQUENCY
  19. int "FUSB301 I2C frequency"
  20. default 400000
  21. range 1 400000
  22. config DEBUG_FUSB301
  23. bool "Enable debug support for the FUSB301"
  24. default n
  25. ---help---
  26. Enables debug support for the FUSB301
  27. config FUSB301_NPOLLWAITERS
  28. int "Number of waiters to poll"
  29. default 2
  30. ---help---
  31. Maximum number of threads that can be waiting on poll()
  32. endif
  33. config FUSB303
  34. bool "On Semiconductor FUSB303 USB Type-C controller support"
  35. default n
  36. select I2C
  37. ---help---
  38. Enable device driver for Fairchild/On Semiconductor USB Type-C controller
  39. if FUSB303
  40. config FUSB303_I2C_FREQUENCY
  41. int "FUSB303 I2C frequency"
  42. default 400000
  43. range 1 400000
  44. config DEBUG_FUSB303
  45. bool "Enable debug support for the FUSB303"
  46. default n
  47. ---help---
  48. Enables debug support for the FUSB303
  49. config FUSB303_NPOLLWAITERS
  50. int "Number of waiters to poll"
  51. default 2
  52. ---help---
  53. Maximum number of threads that can be waiting on poll()
  54. endif
  55. endif # USBMISC