public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [YBA] mx28evk.h CONFIG_EHCI_MXS_PORT0 power?
Date: Wed, 16 Jul 2014 10:35:42 +0200	[thread overview]
Message-ID: <201407161035.42815.marex@denx.de> (raw)
In-Reply-To: <alpine.DEB.2.02.1406251704040.11371@tavas.tkos.co.il>

On Wednesday, June 25, 2014 at 07:14:24 PM, Jonathan Ben Avraham wrote:
> Dear colleagues,
> When I configure mx28evk with CONFIG_EHCI_MXS_PORT0 instead of the
> default CONFIG_EHCI_MXS_PORT1, and run on an i.MX28 EVK PCB REV D, and
> do "start usb" at the prompt, then ehci_set_usbmode(0) (to set host
> mode) is called but there is no 5V output on the micro-usb connector and
> so the attached storage device is not detected.
> 
> When I use CONFIG_EHCI_MXS_PORT1 the storage device receives 5V and U-Boot
> detects it.
> 
> In Linux 3.13.9 with "dr_mode = host" in the usb0 DTS config, the
> micro-usb connector receives 5V and the storage device is detected, so I
> know that the hardware is configured correctly and works.

You most likely need to toggle some GPIO to enable the power to the port. Check 
the schematics and check board/freescale/mx28evk/mx28evk.c for power toggling 
implementation, that's where the GPIO toggling goes.

Best regards,
Marek Vasut

      reply	other threads:[~2014-07-16  8:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 17:14 [U-Boot] [YBA] mx28evk.h CONFIG_EHCI_MXS_PORT0 power? Jonathan Ben Avraham
2014-07-16  8:35 ` Marek Vasut [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=201407161035.42815.marex@denx.de \
    --to=marex@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox