Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. config USB_ISP1760
  2. tristate "NXP ISP 1760/1761 support"
  3. depends on USB || USB_GADGET
  4. help
  5. Say Y or M here if your system as an ISP1760 USB host controller
  6. or an ISP1761 USB dual-role controller.
  7. This driver does not support isochronous transfers or OTG.
  8. This USB controller is usually attached to a non-DMA-Master
  9. capable bus. NXP's eval kit brings this chip on PCI card
  10. where the chip itself is behind a PLB to simulate such
  11. a bus.
  12. To compile this driver as a module, choose M here: the
  13. module will be called isp1760.
  14. config USB_ISP1760_HCD
  15. bool
  16. config USB_ISP1761_UDC
  17. bool
  18. if USB_ISP1760
  19. choice
  20. bool "ISP1760 Mode Selection"
  21. default USB_ISP1760_DUAL_ROLE if (USB && USB_GADGET)
  22. default USB_ISP1760_HOST_ROLE if (USB && !USB_GADGET)
  23. default USB_ISP1760_GADGET_ROLE if (!USB && USB_GADGET)
  24. config USB_ISP1760_HOST_ROLE
  25. bool "Host only mode"
  26. depends on USB=y || USB=USB_ISP1760
  27. select USB_ISP1760_HCD
  28. help
  29. Select this if you want to use the ISP1760 in host mode only. The
  30. gadget function will be disabled.
  31. config USB_ISP1760_GADGET_ROLE
  32. bool "Gadget only mode"
  33. depends on USB_GADGET=y || USB_GADGET=USB_ISP1760
  34. select USB_ISP1761_UDC
  35. help
  36. Select this if you want to use the ISP1760 in peripheral mode only.
  37. The host function will be disabled.
  38. config USB_ISP1760_DUAL_ROLE
  39. bool "Dual Role mode"
  40. depends on USB=y || USB=USB_ISP1760
  41. depends on USB_GADGET=y || USB_GADGET=USB_ISP1760
  42. select USB_ISP1760_HCD
  43. select USB_ISP1761_UDC
  44. help
  45. Select this if you want to use the ISP1760 in both host and
  46. peripheral modes.
  47. endchoice
  48. endif