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