diff options
author | Richard Purdie <richard@ted.(none)> | 2009-04-28 17:13:57 +0100 |
---|---|---|
committer | Richard Purdie <richard@ted.(none)> | 2009-04-28 17:13:57 +0100 |
commit | 6a6f5cc8206f35dba044f59ae59ed878c2f8fb94 (patch) | |
tree | d325b4fe4696551589573a1b43c19e82cc0cd0d1 /meta/packages/linux/linux-omap-2.6.29/usbttyfix.patch | |
parent | a8e1e028f85b4d6f37238b9cbb0bab19b5939b29 (diff) | |
parent | 0adc74b06210f1be01145a5977a36b83aca0aa68 (diff) | |
download | openembedded-core-6a6f5cc8206f35dba044f59ae59ed878c2f8fb94.tar.gz openembedded-core-6a6f5cc8206f35dba044f59ae59ed878c2f8fb94.tar.bz2 openembedded-core-6a6f5cc8206f35dba044f59ae59ed878c2f8fb94.zip |
Merge branch 'marcin/trunk' of git://git.pokylinux.org/poky-contrib
Diffstat (limited to 'meta/packages/linux/linux-omap-2.6.29/usbttyfix.patch')
-rw-r--r-- | meta/packages/linux/linux-omap-2.6.29/usbttyfix.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-omap-2.6.29/usbttyfix.patch b/meta/packages/linux/linux-omap-2.6.29/usbttyfix.patch new file mode 100644 index 0000000000..997705a31b --- /dev/null +++ b/meta/packages/linux/linux-omap-2.6.29/usbttyfix.patch @@ -0,0 +1,29 @@ +To get USB HOST mode working on USB OTG Port with USB TTY enabled U-boot + +Signed-off-by: Syed Mohammed Khasim <khasim@ti.com> +--- +--- linux-2.6.git/drivers/usb/musb/omap2430.c 2009-01-19 22:42:18.000000000 +0530 ++++ linux-2.6.git/drivers/usb/musb/omap2430.c 2009-02-19 12:45:22.000000000 +0530 +@@ -33,6 +33,7 @@ + #include <linux/list.h> + #include <linux/clk.h> + #include <linux/io.h> ++#include <linux/i2c/twl4030.h> + + #include <asm/mach-types.h> + #include <mach/hardware.h> +@@ -233,6 +234,14 @@ int __init musb_platform_init(struct mus + omap_cfg_reg(AE5_2430_USB0HS_STP); + #endif + ++ /* Reset MUSB Controller */ ++ omap_writel(SOFTRST,OTG_SYSCONFIG); ++ ++#if defined(CONFIG_TWL4030_USB) ++ /* Reset the TWL USB PHY */ ++ twl4030_i2c_write_u8(TWL4030_MODULE_USB, 0x60, 0x4); ++#endif ++ + musb->xceiv = *x; + musb_platform_resume(musb); + |