aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/clock-mx51.c
diff options
context:
space:
mode:
authorDinh Nguyen <Dinh.Nguyen@freescale.com>2010-05-10 14:45:59 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-05-11 02:49:54 -0400
commit2ba5a2c0d8e0f62916a885170f28786141f08f76 (patch)
treee321c91bbb82a90aa39ebd026d62a7ada6cd36b3 /arch/arm/mach-mx5/clock-mx51.c
parentc79504e73a0e84c4db7a2315dcdd6987b0c52566 (diff)
mx5: enable usb gadget for freescale mx51 babbage board
This patch enables usb gadget for freescale mx51 babbage hw. By default, the OTG port will be in device mode. To put the OTG port into Host mode, pass "otg_mode=host" in the exec command. This patch applies to 2.6.34-rc7. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/clock-mx51.c')
-rw-r--r--arch/arm/mach-mx5/clock-mx51.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51.c b/arch/arm/mach-mx5/clock-mx51.c
index 566cfda6185e..9b93de36cf25 100644
--- a/arch/arm/mach-mx5/clock-mx51.c
+++ b/arch/arm/mach-mx5/clock-mx51.c
@@ -818,6 +818,8 @@ static struct clk_lookup lookups[] = {
818 _REGISTER_CLOCK("mxc-ehci.0", "usb_ahb", ahb_clk) 818 _REGISTER_CLOCK("mxc-ehci.0", "usb_ahb", ahb_clk)
819 _REGISTER_CLOCK("mxc-ehci.1", "usb", usboh3_clk) 819 _REGISTER_CLOCK("mxc-ehci.1", "usb", usboh3_clk)
820 _REGISTER_CLOCK("mxc-ehci.1", "usb_ahb", ahb_clk) 820 _REGISTER_CLOCK("mxc-ehci.1", "usb_ahb", ahb_clk)
821 _REGISTER_CLOCK("fsl-usb2-udc", "usb", usboh3_clk)
822 _REGISTER_CLOCK("fsl-usb2-udc", "usb_ahb", ahb_clk)
821}; 823};
822 824
823static void clk_tree_init(void) 825static void clk_tree_init(void)