aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamneek Mehresh <ramneek.mehresh@freescale.com>2012-09-19 04:48:45 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-21 12:43:55 -0400
commite98b6a4f9667e41eb96104991794eb29212ec2b7 (patch)
tree0334f30cf0de72e2b0b19c0423b6b1dadd270092
parentc638eb2872b3af079501e7ee44cbb8a5cce9b4b5 (diff)
fsl/usb: Add support for USB controller version 2.4
Add support for USB controller version 2.4 Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/host/fsl-mph-dr-of.c2
-rw-r--r--include/linux/fsl_devices.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c
index 22ff6b3a676f..1e771292383f 100644
--- a/drivers/usb/host/fsl-mph-dr-of.c
+++ b/drivers/usb/host/fsl-mph-dr-of.c
@@ -133,6 +133,8 @@ static int usb_get_ver_info(struct device_node *np)
133 ver = FSL_USB_VER_1_6; 133 ver = FSL_USB_VER_1_6;
134 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) 134 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2"))
135 ver = FSL_USB_VER_2_2; 135 ver = FSL_USB_VER_2_2;
136 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4"))
137 ver = FSL_USB_VER_2_4;
136 else /* for previous controller versions */ 138 else /* for previous controller versions */
137 ver = FSL_USB_VER_OLD; 139 ver = FSL_USB_VER_OLD;
138 140
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index ccfc4bb3dc48..38b5660813ff 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -23,6 +23,7 @@
23#define FSL_USB_VER_OLD 0 23#define FSL_USB_VER_OLD 0
24#define FSL_USB_VER_1_6 1 24#define FSL_USB_VER_1_6 1
25#define FSL_USB_VER_2_2 2 25#define FSL_USB_VER_2_2 2
26#define FSL_USB_VER_2_4 3
26 27
27#include <linux/types.h> 28#include <linux/types.h>
28 29