From: Hugo Holgersson <hugoh@student.chalmers.se>
To: u-boot@lists.denx.de
Subject: [U-Boot] No power on USB host of IMX25 PDK
Date: Mon, 7 Nov 2011 11:09:08 +0100 [thread overview]
Message-ID: <4EB7AE44.9030405@student.chalmers.se> (raw)
In-Reply-To: <CAOMZO5Cx3jaEK11neid9_Q6wQnS5Jno7fmfo+QFmkML+b2uu=w@mail.gmail.com>
On 11/04/2011 05:24 PM, Fabio Estevam wrote:
> On Fri, Nov 4, 2011 at 2:06 PM, Hugo Holgersson
> <hugoh@student.chalmers.se> wrote:
>> Thanks for the input!
>>
>> Putting the mux code to generic.c, as it was done for the UART's pins, did not change anything...
>>
>> I write MXC_EHCI_MODE_SERIAL to&ehci->portsc. Exactly the same behavior. Same log.
>>
>> But the question (1) remains; which is the register (the address) of where mxc_set_usbcontrol()
>> is supposed to write to? I understand Linux use http://lxr.linux.no/#linux+v3.1/arch/arm/mach-imx/ehci-imx25.c
>> uses the IMX_USB_BASE + 0x600 address... But, to me this is outside the usb_ehci-struct, so I
>> cannot figure out what register that is located at that address.
>>
>> Guessing, what about the following possible candidates inside the usb_echi-struct?
>> usb_ehci->usbgenctrl
>> usb_ehci->hwgeneral
>> usb_ehci->control
>> usb_ehci->isiphyctrl
>>
>> I need to find some docs on the controller's registers to understand that.
>
> You need to check MX25RM (Reference Manual) available at
> http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX257&nodeId=018rH3ZrDR6B45&fpsp=1&tab=Documentation_Tab
>
> Regards,
>
> Fabio Estevam
>
#define USBCTRL_OTGBASE_OFFSET 0x600
should maybe be called just USB_CTRL_OFFSET.
According to the reference manual, it is a "USBOH"-register. Concerning
both of the two, independent cores (OTG and "Host") of the chip.
(Page 1747)
So, it is indeed outside the usb_ehci struct! Sorry!
Best regards,
Hugo Holgersson
next prev parent reply other threads:[~2011-11-07 10:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-04 11:16 [U-Boot] No power on USB host of IMX25 PDK Hugo Holgersson
2011-11-04 11:31 ` Fabio Estevam
2011-11-04 11:38 ` Fabio Estevam
2011-11-04 12:05 ` Fabio Estevam
2011-11-04 12:54 ` Fabio Estevam
[not found] ` <EFD68FC17D8A394E8FE69801A1637D561B9B1FB7@SN2PRD0102MB164.prod.exchangelabs.com>
2011-11-04 16:06 ` Hugo Holgersson
2011-11-04 16:24 ` Fabio Estevam
2011-11-07 10:09 ` Hugo Holgersson [this message]
2011-11-07 12:04 ` Fabio Estevam
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=4EB7AE44.9030405@student.chalmers.se \
--to=hugoh@student.chalmers.se \
--cc=u-boot@lists.denx.de \
/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.