aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2014-02-19 00:41:43 -0500
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:58:01 -0400
commit1a72b128812847d2ab426e044b0db65b8c2e3d2a (patch)
tree57c2704ac7bfab68c3f7c6b073a5c785af072bbf /include/linux
parent4855dc3ae035df5313b61422a90c7055a2e60522 (diff)
usb: chipidea: udc: add maximum-speed = full-speed option
This patch makes it possible to set the chipidea udc into full-speed only mode. It is set by the oftree property "maximum-speed = full-speed". Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/chipidea.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h
index 8820c88621df..f0328724e2e4 100644
--- a/include/linux/usb/chipidea.h
+++ b/include/linux/usb/chipidea.h
@@ -28,6 +28,7 @@ struct ci_hdrc_platform_data {
28#define CI_HDRC_IMX28_WRITE_FIX BIT(5) 28#define CI_HDRC_IMX28_WRITE_FIX BIT(5)
29#define CI_HDRC_IMX_EHCI_QUIRK BIT(6) 29#define CI_HDRC_IMX_EHCI_QUIRK BIT(6)
30#define CI_HDRC_IMX_IS_HSIC BIT(7) 30#define CI_HDRC_IMX_IS_HSIC BIT(7)
31#define CI_HDRC_FORCE_FULLSPEED BIT(8)
31 enum usb_dr_mode dr_mode; 32 enum usb_dr_mode dr_mode;
32#define CI_HDRC_CONTROLLER_RESET_EVENT 0 33#define CI_HDRC_CONTROLLER_RESET_EVENT 0
33#define CI_HDRC_CONTROLLER_STOPPED_EVENT 1 34#define CI_HDRC_CONTROLLER_STOPPED_EVENT 1