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] [PATCH 3/3] M28: Disable USB power on boot
Date: Wed, 23 May 2012 15:07:31 +0200	[thread overview]
Message-ID: <201205231507.31841.marex@denx.de> (raw)
In-Reply-To: <CAOMZO5DiQjDVogb1Qt_2wiiqu8U_PxWnNnAKWB3+_dsJnFS9YA@mail.gmail.com>

Dear Fabio Estevam,

> On Tue, May 22, 2012 at 8:32 PM, Marek Vasut <marex@denx.de> wrote:
> >  void board_init_ll(void)
> >  {
> > +       /* Powerdown the USB */
> > +       mxs_iomux_setup_pad(MX28_PAD_SSP2_SS1__USB1_OVERCURRENT);
> > +       mxs_iomux_setup_pad(MX28_PAD_AUART3_TX__GPIO_3_13 |
> > +                       MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP);
> > +       gpio_direction_output(MX28_PAD_AUART3_TX__GPIO_3_13, 1);
> 
> I don't have access to the m28evk schematics, but please double check
> if you really need to set this pin to '1' to powerdown the USB, or if
> this should be a '0' instead.

This is correct, it should be inverted.

Best regards,
Marek Vasut

  reply	other threads:[~2012-05-23 13:07 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 23:32 [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets Marek Vasut
2012-05-22 23:32 ` [U-Boot] [PATCH 2/3] MX28: Cleanup mxsboot within make mrproper Marek Vasut
2012-05-22 23:32 ` [U-Boot] [PATCH 3/3] M28: Disable USB power on boot Marek Vasut
2012-05-23 11:14   ` Wolfgang Denk
2012-05-23 11:53     ` Marek Vasut
2012-05-23 12:48       ` Fabio Estevam
2012-05-23 13:08         ` Marek Vasut
2012-05-23 13:10           ` Fabio Estevam
2012-05-23 13:01   ` Fabio Estevam
2012-05-23 13:07     ` Marek Vasut [this message]
2012-05-23 13:15       ` Fabio Estevam
2012-05-23 13:20         ` Marek Vasut
2012-05-23  9:16 ` [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets Wolfgang Denk
2012-05-23  9:27   ` Marek Vasut
2012-05-23  9:44     ` Marek Vasut
2012-05-23 11:17       ` Wolfgang Denk
2012-05-23 11:34         ` Marek Vasut
2012-05-23 11:47           ` Wolfgang Denk
2012-05-23 12:22             ` Marek Vasut
2012-06-21 20:31               ` Wolfgang Denk
2012-06-22 12:44                 ` Marek Vasut
2012-06-22 13:11                   ` Wolfgang Denk
2012-05-23 11:16     ` Wolfgang Denk

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=201205231507.31841.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