linux/drivers/usb/chipidea
Peter Chen 577b232fc9 usb: chipidea: add flag CI_HDRC_DUAL_ROLE_NOT_OTG
Since we need otgsc to know vbus's status at some chipidea
controllers even it is peripheral-only mode. Besides, some
SoCs (eg, AR9331 SoC) don't have otgsc register even
the DCCPARAMS_DC and DCCPARAMS_HC are both 1 at CAP_DCCPARAMS.

We inroduce flag CI_HDRC_DUAL_ROLE_NOT_OTG to indicate if the
controller is dual role, but not supports OTG. If this flag is
not set, we follow the rule that if DCCPARAMS_DC and DCCPARAMS_HC
are both 1 at CAP_DCCPARAMS, then this controller is otg capable.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-14 12:37:19 -07:00
..
bits.h usb: chipidea: otg: add otg file used to access otgsc 2013-08-14 12:37:19 -07:00
ci_hdrc_imx.c usb: chipidea: move vbus regulator operation to core 2013-08-14 12:34:17 -07:00
ci_hdrc_imx.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci_hdrc_msm.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci_hdrc_pci.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
core.c usb: chipidea: add flag CI_HDRC_DUAL_ROLE_NOT_OTG 2013-08-14 12:37:19 -07:00
debug.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
host.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
Kconfig usb: chipidea: improve kconfig 2.0 2013-08-14 12:34:16 -07:00
Makefile usb: chipidea: otg: add otg file used to access otgsc 2013-08-14 12:37:19 -07:00
otg.c usb: chipidea: otg: add otg file used to access otgsc 2013-08-14 12:37:19 -07:00
otg.h usb: chipidea: otg: add otg file used to access otgsc 2013-08-14 12:37:19 -07:00
udc.c usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
udc.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
usbmisc_imx.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00