All of lore.kernel.org
 help / color / mirror / Atom feed
From: thomas.abraham@linaro.org (Thomas Abraham)
To: linux-arm-kernel@lists.infradead.org
Subject: USB host on s3c2416
Date: Mon, 22 Aug 2011 15:35:13 +0530	[thread overview]
Message-ID: <CAJuYYwS9s1i6MEE3-37AkWOCGnOkmJCSdW5OFT2EjQfE7Ern_w@mail.gmail.com> (raw)
In-Reply-To: <loom.20110822T110123-860@post.gmane.org>

Hi Gigin,

On 22 August 2011 14:47, GIGIN JOSE <gigin_jose@yahoo.co.in> wrote:
> Hi,
>
> I am working on samsung s3c2416 ARM based Soc on
> linux 2.6.21 kernel. By default, the Soc has one
> USB host and one USB device/host. My USB host is
> working fine. Since I need to use two USB host on my system,
> ?I need to enable the USB device/host as a USB host.

s3c2416 includes a USB 1.1 Host and USB 2.0 device controller. So
there is no second usb host controller on s3c2416.

Regards,
Thomas.

>
> The following are the changes I have made for the same:
>
> Register ?Address ? ? ? ?value
> -----------------------------
> PHYPWR ? ?0x4C00_0084 ? ?0x0
> PWRCFG ? ?0x4C00_0060 ? ?(1<<4)
> URSTCON ? 0x4C00_0088 ? ?(0<<2)|(1<<1)|(1<<0)
> URSTCON ? 0x4C00_0088 ? ?(0<<2)|(0<<1)|(0<<0)
> PHYCTRL ? 0x4C00_0080 ? ?(0<<3)|(0<<2)|(1<<1)|(1<<0)
> UCLKCON ? 0x4C00_008C ? ?0<<31)|(0<<2)|(1<<1)|(1<<0)
>
> Once I try to plug in a ?USB mass storage device (whose driver is present in
> kernel), I get the following error:
>
> usb 1-2: new full speed USB device using s3c2410-ohci and address 10
> usb 1-2: device descriptor read/64, error -62
> usb 1-2: device descriptor read/64, error -62
> usb 1-2: new full speed USB device using s3c2410-ohci and address 11
> usb 1-2: device descriptor read/64, error -62
> usb 1-2: device descriptor read/64, error -62
> usb 1-2: new full speed USB device using s3c2410-ohci and address 12
> usb 1-2: device not accepting address 12, error -62
> usb 1-2: new full speed USB device using s3c2410-ohci and address 13
> usb 1-2: device not accepting address 13, error -62
>
>
> Why is it throwing this error ? Is there any driver for USB hub missing in
> 2.6.21 kernel, or do I need to modify more on register settings.
>
> Please help.
>
> Thank You
> GIGIN
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>

      reply	other threads:[~2011-08-22 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22  9:17 USB host on s3c2416 GIGIN JOSE
2011-08-22 10:05 ` Thomas Abraham [this message]

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=CAJuYYwS9s1i6MEE3-37AkWOCGnOkmJCSdW5OFT2EjQfE7Ern_w@mail.gmail.com \
    --to=thomas.abraham@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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.