* am3517: USB state in 3.5-rc6
@ 2012-07-23 7:08 Yegor Yefremov
2012-07-24 15:30 ` Jan Lübbe
0 siblings, 1 reply; 3+ messages in thread
From: Yegor Yefremov @ 2012-07-23 7:08 UTC (permalink / raw)
To: linux-omap@vger.kernel.org; +Cc: Mark A. Greer, Porter, Matt
After getting MMC working I now have following issues: both musb and EHCI make problems.
musb:
musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
musb-am35x musb-am35x: failed to get clock
musb-am35x: probe of musb-am35x failed with error -2
EHCI with attached smsc9514:
LR is at __func__.12097+0x81924/0xda0c4
pc : [<c02e5250>] lr : [<c0549a80>] psr: 60000013
sp : cf92dea8 ip : 00000000 fp : 00000002
r10: cfb07000 r9 : 00000001 r8 : 00000003
r7 : cfb11800 r6 : 00000032 r5 : 00000000 r4 : cfb2cc00
r3 : c05919a0 r2 : c05851fc r1 : c0585220 r0 : cfb2cc68
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387d Table: 80004019 DAC: 00000015
Process khubd (pid: 385, stack limit = 0xcf92c2f0)
Stack: (0xcf92dea8 to 0xcf92e000)
dea0: 00000002 00000000 00000001 00000000 cfb07000 c006eb24
dec0: a0000013 00000000 00000003 cfb11c00 00000000 c0496a9c cfb2cc00 cfb07000
dee0: cfb2cc00 cfb11800 00000000 cfb11c18 00000001 cfb11c00 00000002 c02e6e0c
df00: 00000501 00000000 c0585740 c04959c0 00000001 20000093 cfb07008 cfb1189c
df20: cfb11400 00000000 cfb07078 cfb07070 cfb07008 cfb07000 cfb11800 cfb11420
df40: cfb11800 cfb11420 cfb11c00 00000009 cf92df84 c00590e4 00000000 cf92c000
df60: 00000000 cf8b8100 c0051304 cf92df6c cf92df6c 00000000 05010000 c006eb24
df80: 60000013 cf82df18 cf92dfb4 00000000 c02e66e4 00000000 00000000 00000000
dfa0: 00000000 c00508dc cf92c000 00000000 00000000 00000000 00000001 dead4ead
dfc0: ffffffff ffffffff c06894d8 00000000 00000000 c054b8a4 cf92dfd8 cf92dfd8
dfe0: cf82df18 cf82df18 c0050850 c00146f0 00000013 c00146f0 ffffffff ffffffff
[<c02e5250>] (hub_port_init+0x14c/0x97c) from [<c02e6e0c>] (hub_thread+0x728/0x13b0)
[<c02e6e0c>] (hub_thread+0x728/0x13b0) from [<c00508dc>] (kthread+0x8c/0x98)
[<c00508dc>] (kthread+0x8c/0x98) from [<c00146f0>] (kernel_thread_exit+0x0/0x8)
Code: e59f17fc e592c080 e59f27f8 11a0200e (e59cc000)
---[ end trace 56f9d1e7cf52e660 ]---
Yegor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: am3517: USB state in 3.5-rc6
2012-07-23 7:08 am3517: USB state in 3.5-rc6 Yegor Yefremov
@ 2012-07-24 15:30 ` Jan Lübbe
2012-08-02 9:52 ` Yegor Yefremov
0 siblings, 1 reply; 3+ messages in thread
From: Jan Lübbe @ 2012-07-24 15:30 UTC (permalink / raw)
To: yegor_sub1; +Cc: linux-omap@vger.kernel.org, Mark A. Greer, Porter, Matt
Hi,
On Mon, 2012-07-23 at 09:08 +0200, Yegor Yefremov wrote:
> After getting MMC working I now have following issues: both musb and EHCI make problems.
>
> musb:
>
> musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
> musb-am35x musb-am35x: failed to get clock
> musb-am35x: probe of musb-am35x failed with error -2
I've seen the same problem after merging omap-devel-d-for-3.6 onto v3.5.
(see http://git.kernel.org/?p=linux/kernel/git/pjw/omap-pending.git;a=tag;h=refs/tags/omap-devel-d-for-3.6)
So far I've worked around it like this (I'm not sure this is the correct
approach, but it works):
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
index 9f3eda9..2184693 100644
--- a/drivers/usb/musb/am35x.c
+++ b/drivers/usb/musb/am35x.c
@@ -480,14 +480,14 @@ static int __devinit am35x_probe(struct platform_device *pdev)
goto err1;
}
- phy_clk = clk_get(&pdev->dev, "fck");
+ phy_clk = clk_get(&pdev->dev, "hsotgusb_ick");
if (IS_ERR(phy_clk)) {
dev_err(&pdev->dev, "failed to get PHY clock\n");
ret = PTR_ERR(phy_clk);
goto err2;
}
- clk = clk_get(&pdev->dev, "ick");
+ clk = clk_get(&pdev->dev, "hsotgusb_fck");
if (IS_ERR(clk)) {
dev_err(&pdev->dev, "failed to get clock\n");
ret = PTR_ERR(clk);
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: am3517: USB state in 3.5-rc6
2012-07-24 15:30 ` Jan Lübbe
@ 2012-08-02 9:52 ` Yegor Yefremov
0 siblings, 0 replies; 3+ messages in thread
From: Yegor Yefremov @ 2012-08-02 9:52 UTC (permalink / raw)
To: Jan Lübbe; +Cc: linux-omap@vger.kernel.org, Mark A. Greer, Porter, Matt
Am 24.07.2012 17:30, schrieb Jan Lübbe:
> Hi,
>
> On Mon, 2012-07-23 at 09:08 +0200, Yegor Yefremov wrote:
>> After getting MMC working I now have following issues: both musb and EHCI make problems.
>>
>> musb:
>>
>> musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
>> musb-am35x musb-am35x: failed to get clock
>> musb-am35x: probe of musb-am35x failed with error -2
> I've seen the same problem after merging omap-devel-d-for-3.6 onto v3.5.
> (see http://git.kernel.org/?p=linux/kernel/git/pjw/omap-pending.git;a=tag;h=refs/tags/omap-devel-d-for-3.6)
>
> So far I've worked around it like this (I'm not sure this is the correct
> approach, but it works):
>
> diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
> index 9f3eda9..2184693 100644
> --- a/drivers/usb/musb/am35x.c
> +++ b/drivers/usb/musb/am35x.c
> @@ -480,14 +480,14 @@ static int __devinit am35x_probe(struct platform_device *pdev)
> goto err1;
> }
>
> - phy_clk = clk_get(&pdev->dev, "fck");
> + phy_clk = clk_get(&pdev->dev, "hsotgusb_ick");
> if (IS_ERR(phy_clk)) {
> dev_err(&pdev->dev, "failed to get PHY clock\n");
> ret = PTR_ERR(phy_clk);
> goto err2;
> }
>
> - clk = clk_get(&pdev->dev, "ick");
> + clk = clk_get(&pdev->dev, "hsotgusb_fck");
> if (IS_ERR(clk)) {
> dev_err(&pdev->dev, "failed to get clock\n");
> ret = PTR_ERR(clk);
Jan, thanks for the patch. It helped. I've taken the upcoming vanila 3.6 kernel and got both musb and EHCI running. I will test it further after linux-omap will be merged with linux-2.6 after merge window is closed.
Yegor
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-02 9:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-23 7:08 am3517: USB state in 3.5-rc6 Yegor Yefremov
2012-07-24 15:30 ` Jan Lübbe
2012-08-02 9:52 ` Yegor Yefremov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).