All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/7] sunxi: Add CONFIG_MACPWR option
Date: Mon, 28 Jul 2014 10:59:37 +0200	[thread overview]
Message-ID: <53D610F9.6050804@redhat.com> (raw)
In-Reply-To: <593AEF6C47F46446852B067021A273D6FB85A3D5@MUCSE037.lantiq.com>

Hi,

On 07/28/2014 10:09 AM, thomas.langer at lantiq.com wrote:
> Hello Hans,
> 
> Hans de Goede wrote on 2014-07-27:
>> On some boards the phy needs to be powered up through a gpio, add
>> support for this.
>>
> 
>> @@ -129,6 +129,11 @@ int cpu_eth_init(bd_t *bis)
>>  {
>>  	__maybe_unused int rc;
>> +#ifdef CONFIG_MACPWR
> 
> If this is powering a phy, maybe CONFIG_PHYPWR or similar is a better name?
> Because PHY and MAC are different things!

True, but there can be many kinds of PHYs usb phys, ahci phys,
ethernet phys, etc.

> And maybe adding GPIO to the name to indicate that the value is a GPIO number?

The current name mirrors the AHCIPWR setting we already for ahci
support on sinxi boards.

> All of these should be part of the description in the README,
> which each CONFIG_ option requires.

That is a good point. We've not documented any of the sunxi specific
options as of yet. Since we've quite a few I think it
might be better to add a new doc/README.sunxi file for this. I've
put creating such a file on my todo list.

Regards,

Hans

  reply	other threads:[~2014-07-28  8:59 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-27 21:25 [U-Boot] [PATCH 1/7] sun4i: add USB EHCI settings Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 2/7] sun5i: " Hans de Goede
2014-07-28  7:42   ` Ian Campbell
2014-07-28  8:22     ` Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 3/7] sunxi: Enable EHCI on various sunxi boards Hans de Goede
2014-07-28  7:44   ` Ian Campbell
2014-07-27 21:25 ` [U-Boot] [PATCH 4/7] sunxi: Add CONFIG_MACPWR option Hans de Goede
2014-07-28  7:48   ` Ian Campbell
2014-07-28  7:51     ` [U-Boot] [linux-sunxi] " Chen-Yu Tsai
2014-07-28  7:59       ` Ian Campbell
2014-07-28  8:23     ` Hans de Goede
2014-07-28  8:09   ` [U-Boot] " thomas.langer at lantiq.com
2014-07-28  8:59     ` Hans de Goede [this message]
2014-07-27 21:25 ` [U-Boot] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards Hans de Goede
2014-07-28  7:54   ` Ian Campbell
2014-07-28  8:46     ` Hans de Goede
2014-07-28  8:50       ` Ian Campbell
2014-09-18 16:07   ` [U-Boot] [linux-sunxi] " Siarhei Siamashka
2014-09-28 15:58     ` Hans de Goede
2014-09-28 19:34       ` Arnd Gronenberg
2014-09-28 22:09         ` Siarhei Siamashka
2014-09-29  8:31           ` Arnd Gronenberg
2014-09-29  5:38       ` Siarhei Siamashka
2014-09-29  5:46         ` Siarhei Siamashka
2014-07-27 21:25 ` [U-Boot] [PATCH 6/7] sun5i: Add support for a number of new sun5i boards Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 7/7] sun7i: Add support for a number of new sun7i boards Hans de Goede
2014-07-28  7:38 ` [U-Boot] [PATCH 1/7] sun4i: add USB EHCI settings Ian Campbell

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=53D610F9.6050804@redhat.com \
    --to=hdegoede@redhat.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.