diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-11 10:25:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-11 19:49:51 -0400 |
commit | e443b333629f82ca0da91a05ca638050943bbedd (patch) | |
tree | d8c2cbf06e7faeef2c062b01271f8987cca23459 /drivers/usb/chipidea/Kconfig | |
parent | bc25a80d12ea971ddd652717150058989b1ad474 (diff) |
usb: chipidea: split the driver code into units
Split the driver into the following parts:
* core -- resources, register access, capabilities, etc;
* udc -- device controller functionality;
* debug -- logging events.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/Kconfig')
-rw-r--r-- | drivers/usb/chipidea/Kconfig | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig index 71725ddc8f25..553c1976a66e 100644 --- a/drivers/usb/chipidea/Kconfig +++ b/drivers/usb/chipidea/Kconfig | |||
@@ -1,10 +1,26 @@ | |||
1 | config USB_CHIPIDEA | 1 | config USB_CHIPIDEA |
2 | tristate "ChipIdea Highspeed Dual Role Controller" | 2 | tristate "ChipIdea Highspeed Dual Role Controller" |
3 | depends on USB && USB_GADGET | 3 | depends on USB |
4 | select USB_GADGET_DUALSPEED | ||
5 | help | 4 | help |
6 | Say Y here if your system has a dual role high speed USB | 5 | Say Y here if your system has a dual role high speed USB |
7 | controller based on ChipIdea silicon IP. Currently, only the | 6 | controller based on ChipIdea silicon IP. Currently, only the |
8 | peripheral mode is supported. | 7 | peripheral mode is supported. |
9 | 8 | ||
10 | When compiled dynamically, the module will be called ci-hdrc.ko. | 9 | When compiled dynamically, the module will be called ci-hdrc.ko. |
10 | |||
11 | if USB_CHIPIDEA | ||
12 | |||
13 | config USB_CHIPIDEA_UDC | ||
14 | bool "ChipIdea device controller" | ||
15 | depends on USB_GADGET | ||
16 | select USB_GADGET_DUALSPEED | ||
17 | help | ||
18 | Say Y here to enable device controller functionality of the | ||
19 | ChipIdea driver. | ||
20 | |||
21 | config USB_CHIPIDEA_DEBUG | ||
22 | bool "ChipIdea driver debug" | ||
23 | help | ||
24 | Say Y here to enable debugging output of the ChipIdea driver. | ||
25 | |||
26 | endif | ||