From: Felipe Balbi <felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
To: ext Viral Mehta <Viral.Mehta-oonXi/34qI7c+919tysfdA@public.gmane.org>
Cc: "Gadiyar, Anand" <gadiyar-l0cyMroinI0@public.gmane.org>,
"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: USB on omap2430
Date: Mon, 29 Mar 2010 23:41:59 +0300 [thread overview]
Message-ID: <20100329204159.GC31402@nokia.com> (raw)
In-Reply-To: <70376CA23424B34D86F1C7DE6B997343017F5D5BE7-fVvhrSDAkVjuuPCCJ6VnObSn4PsL5ZDKvpI+GvaZM4lBDgjK7y7TUQ@public.gmane.org>
Hi again,
On Fri, Mar 26, 2010 at 12:08:11PM +0100, ext Viral Mehta wrote:
>I enabled "earlyprintk" and I have copy+pasted crashdump at the end of the email.
>
>It is not able to get "otg_get_transceiver()" since transceiver was never set.
>OMAP2430 uses ISP1301 (grepped from SDP manual).
>It is on I2C1 bus and address 0x2D if I read the manual correctly.
isp1301 ?? there's a driver for that on drivers/usb/otg/isp1301_omap.c
enable that and check if it works. You should add something like the
following to your board file:
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c
index 01d113f..910234d 100644
--- a/arch/arm/mach-omap2/board-2430sdp.c
+++ b/arch/arm/mach-omap2/board-2430sdp.c
@@ -172,6 +172,11 @@ static struct i2c_board_info __initdata sdp2430_i2c_boardinfo[] = {
.irq = INT_24XX_SYS_NIRQ,
.platform_data = &sdp2430_twldata,
},
+ {
+ I2C_BOARD_INFO("isp1301-omap", 0x2d),
+ .flags = I2C_CLIENT_WAKE,
+ .irq = /* irq line here */,
+ },
};
static int __init omap2430_i2c_init(void)
I didn't even compile tested... you will probably need the schematics to
figure out to which i2c bus isp1301 is connected.
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-03-29 20:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <70376CA23424B34D86F1C7DE6B997343017F5D5BE1@VSHINMSMBX01.vshodc.lntinfotech.com>
[not found] ` <70376CA23424B34D86F1C7DE6B997343017F5D5BE1-fVvhrSDAkVjuuPCCJ6VnObSn4PsL5ZDKvpI+GvaZM4lBDgjK7y7TUQ@public.gmane.org>
2010-03-24 9:16 ` USB on omap2430 Gadiyar, Anand
[not found] ` <5A47E75E594F054BAF48C5E4FC4B92AB032221A9F3-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-03-24 9:36 ` Viral Mehta
[not found] ` <70376CA23424B34D86F1C7DE6B997343017F5D5BE3-fVvhrSDAkVjuuPCCJ6VnObSn4PsL5ZDKvpI+GvaZM4lBDgjK7y7TUQ@public.gmane.org>
2010-03-26 11:08 ` Viral Mehta
[not found] ` <70376CA23424B34D86F1C7DE6B997343017F5D5BE7-fVvhrSDAkVjuuPCCJ6VnObSn4PsL5ZDKvpI+GvaZM4lBDgjK7y7TUQ@public.gmane.org>
2010-03-26 17:44 ` Felipe Balbi
2010-03-29 20:34 ` Felipe Balbi
[not found] ` <3821c76c47d164935b857a29de6bb797-WEDJutINlwSqfKURHDCIgFDQ4js95KgL@public.gmane.org>
2010-03-30 4:37 ` Viral Mehta
2010-03-30 5:04 ` Felipe Balbi
2010-03-29 20:41 ` Felipe Balbi [this message]
2010-03-30 4:54 ` Viral Mehta
[not found] ` <70376CA23424B34D86F1C7DE6B997343023C4E201B-fVvhrSDAkVjuuPCCJ6VnObSn4PsL5ZDKvpI+GvaZM4lBDgjK7y7TUQ@public.gmane.org>
2010-03-30 5:03 ` Felipe Balbi
[not found] ` <3bd3371a3ea8aa8fb53b62dbe99169e0-WEDJutINlwSqfKURHDCIgFDQ4js95KgL@public.gmane.org>
2010-04-05 14:02 ` Viral Mehta
2010-04-05 16:41 ` Felipe Balbi
2010-04-05 16:49 ` Felipe Balbi
2010-04-06 8:35 ` Gadiyar, Anand
2010-04-05 14:01 ` Viral Mehta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100329204159.GC31402@nokia.com \
--to=felipe.balbi-xnzwkgviw5gavxtiumwx3w@public.gmane.org \
--cc=Viral.Mehta-oonXi/34qI7c+919tysfdA@public.gmane.org \
--cc=gadiyar-l0cyMroinI0@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.