All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger.com>
To: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org, Wolfgang Grandegger <wg@denx.de>
Subject: Re: [PATCH v2] mips/alchemy: add basic support for the GPR board
Date: Thu, 15 Jul 2010 11:04:39 +0200	[thread overview]
Message-ID: <4C3ECF27.4040306@grandegger.com> (raw)
In-Reply-To: <AANLkTindpsjxnTgpchvuqkxBqYg3NtsP39wXq61QRR-3@mail.gmail.com>

On 07/14/2010 08:40 PM, Florian Fainelli wrote:
> Hi Wolfgang,
> 
> 2010/7/14 Wolfgang Grandegger <wg@grandegger.com>:
>> From: Wolfgang Grandegger <wg@denx.de>
>>
>> This patch adds basic support for the General Purpose Router (GPR)
>> board from Trapeze ITS.
>>
>> Signed-off-by: Wolfgang Grandegger <wg@denx.de>
> [snip]
> 
>> +
>> +/*
>> + * LEDs
>> + */
>> +static struct gpio_led gpr_gpio_leds[] = {
>> +       {       /* green */
>> +               .name                   = "green",
>> +               .gpio                   = 4,
>> +               .active_low             = 1,
>> +               .default_trigger        = "none",
>> +       },
>> +       {       /* red */
>> +               .name                   = "red",
>> +               .gpio                   = 5,
>> +               .active_low             = 1,
>> +               .default_trigger        = "none",
>> +       }
>> +};
> 
> Should be "gpr:green" and "gpr:red" respectively to follow the Linux
> LEDs class naming conventions. The default trigger is superfluous,

Will be fixed.

> however it would make sense to have the green led be associated with
> the "default-on" trigger. Otherwise, it looks very good.

I just played with various default triggers. None of them is needed and
I will remove it. In the board setup code, the LEDs are toggled and
therefore I do not want to define a "default-on".

Thanks,

Wolfgang.

      reply	other threads:[~2010-07-15  9:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-14 13:47 [PATCH v2] mips/alchemy: add basic support for the GPR board Wolfgang Grandegger
2010-07-14 14:51 ` Manuel Lauss
2010-07-14 19:26   ` Wolfgang Grandegger
2010-07-14 18:40 ` Florian Fainelli
2010-07-15  9:04   ` Wolfgang Grandegger [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=4C3ECF27.4040306@grandegger.com \
    --to=wg@grandegger.com \
    --cc=florian@openwrt.org \
    --cc=linux-mips@linux-mips.org \
    --cc=wg@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.