From: "Eric Bénard" <eric@eukrea.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] beagleboard: enable HUB power on all variants of the BeagleBoard
Date: Sat, 27 Aug 2011 15:51:12 +0200 [thread overview]
Message-ID: <4E58F650.9020408@eukrea.com> (raw)
In-Reply-To: <CAD=GYpa_NkphKVz=X-c+Vh2KfnW6rJGtmJghLxpTpRX6nZsOHg@mail.gmail.com>
Hi Joel,
Le 27/08/2011 06:46, Joel A Fernandes a ?crit :
>> The logic is wrong here. I don't remember the polarity, but I do remember that it is
>> xM-A and xM-B that are the oddballs. I believe this is the correct change:
>
> Hi Jason,
>
> LEDAON should be high for HUB power up on xMA and xMB, so in your code snip:
>
>>
>> + switch (get_board_revision()) {
>> + case REVISION_XM_A:
>> + case REVISION_XM_B:
>> + twl4030_led_init(TWL4030_LED_LEDEN_LEDBON);
>
> So this should be TWL4030_LED_LEDEN_LEDBON | TWL4030_LED_LEDEN_LEDAON
>
>> + break;
>> + default:
>> + twl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);
>
> and, this should be TWL4030_LED_LEDEN_LEDBON
>
> Am I correct?
>
LEDA & LEDB are active low Open Drain outputs so enabling LEDAON bit in LEDEN
means LEDA output is at low level.
Eric
next prev parent reply other threads:[~2011-08-27 13:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-24 22:47 [U-Boot] [PATCH] beagleboard: enable HUB power on all variants of the BeagleBoard Joel A Fernandes
2011-08-25 3:22 ` Marek Vasut
2011-08-25 3:30 ` Jason Kridner
2011-08-25 3:38 ` Marek Vasut
[not found] ` <09c7a42739ab4b60940f47b442600eab@DLEE74.ent.ti.com>
2011-08-26 18:44 ` Joel A Fernandes
[not found] ` <9c84f85dcba04a05bf02cd937fa69bf3@DFLE70.ent.ti.com>
[not found] ` <CAD=GYpbtJ9Hmjy-XdAHK6XmZTbj3PWnes9ZZpOROuiuKPyiFaA@mail.gmail.com>
2011-08-27 4:46 ` Joel A Fernandes
2011-08-27 13:51 ` Eric Bénard [this message]
2011-08-27 16:19 ` Jason Kridner
2011-08-27 19:16 ` Joel A Fernandes
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=4E58F650.9020408@eukrea.com \
--to=eric@eukrea.com \
--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.