| .. | .. |
|---|
| 32 | 32 | If you have any questions about this, say Y here, only say N |
|---|
| 33 | 33 | if you know exactly what you are doing. |
|---|
| 34 | 34 | |
|---|
| 35 | +config USB_FEW_INIT_RETRIES |
|---|
| 36 | + bool "Limit USB device initialization to only a few retries" |
|---|
| 37 | + help |
|---|
| 38 | + When a new USB device is detected, the kernel tries very hard |
|---|
| 39 | + to initialize and enumerate it, with lots of nested retry loops. |
|---|
| 40 | + This almost always works, but when it fails it can take a long time. |
|---|
| 41 | + This option tells the kernel to make only a few retry attempts, |
|---|
| 42 | + so that the total time required for a failed initialization is |
|---|
| 43 | + no more than 30 seconds (as required by the USB OTG spec). |
|---|
| 44 | + |
|---|
| 45 | + Say N here unless you require new-device enumeration failure to |
|---|
| 46 | + occur within 30 seconds (as might be needed in an embedded |
|---|
| 47 | + application). |
|---|
| 48 | + |
|---|
| 35 | 49 | config USB_DYNAMIC_MINORS |
|---|
| 36 | 50 | bool "Dynamic USB minor allocation" |
|---|
| 37 | 51 | help |
|---|
| .. | .. |
|---|
| 45 | 59 | config USB_OTG |
|---|
| 46 | 60 | bool "OTG support" |
|---|
| 47 | 61 | depends on PM |
|---|
| 48 | | - default n |
|---|
| 49 | 62 | help |
|---|
| 50 | 63 | The most notable feature of USB OTG is support for a |
|---|
| 51 | 64 | "Dual-Role" device, which can act as either a device |
|---|
| .. | .. |
|---|
| 56 | 69 | Select this only if your board has Mini-AB/Micro-AB |
|---|
| 57 | 70 | connector. |
|---|
| 58 | 71 | |
|---|
| 59 | | -config USB_OTG_WHITELIST |
|---|
| 72 | +config USB_OTG_PRODUCTLIST |
|---|
| 60 | 73 | bool "Rely on OTG and EH Targeted Peripherals List" |
|---|
| 61 | 74 | depends on USB |
|---|
| 62 | 75 | help |
|---|
| 63 | | - If you say Y here, the "otg_whitelist.h" file will be used as a |
|---|
| 64 | | - product whitelist, so USB peripherals not listed there will be |
|---|
| 76 | + If you say Y here, the "otg_productlist.h" file will be used as a |
|---|
| 77 | + product list, so USB peripherals not listed there will be |
|---|
| 65 | 78 | rejected during enumeration. This behavior is required by the |
|---|
| 66 | 79 | USB OTG and EH specification for all devices not on your product's |
|---|
| 67 | 80 | "Targeted Peripherals List". "Embedded Hosts" are likewise |
|---|
| 68 | 81 | allowed to support only a limited number of peripherals. |
|---|
| 69 | 82 | |
|---|
| 70 | | -config USB_OTG_BLACKLIST_HUB |
|---|
| 83 | +config USB_OTG_DISABLE_EXTERNAL_HUB |
|---|
| 71 | 84 | bool "Disable external hubs" |
|---|
| 72 | 85 | depends on USB_OTG || EXPERT |
|---|
| 73 | 86 | help |
|---|
| .. | .. |
|---|
| 91 | 104 | This driver allows LEDs to be controlled by USB events. Enabling this |
|---|
| 92 | 105 | trigger allows specifying list of USB ports that should turn on LED |
|---|
| 93 | 106 | when some USB device gets connected. |
|---|
| 107 | + |
|---|
| 108 | +config USB_AUTOSUSPEND_DELAY |
|---|
| 109 | + int "Default autosuspend delay" |
|---|
| 110 | + depends on USB |
|---|
| 111 | + default 2 |
|---|
| 112 | + help |
|---|
| 113 | + The default autosuspend delay in seconds. Can be overridden |
|---|
| 114 | + with the usbcore.autosuspend command line or module parameter. |
|---|
| 115 | + |
|---|
| 116 | + The default value Linux has always had is 2 seconds. Change |
|---|
| 117 | + this value if you want a different delay and cannot modify |
|---|
| 118 | + the command line or module parameter. |
|---|