All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benoit Cousson <bcousson@baylibre.com>
To: Javier Martinez Canillas <martinez.javier@gmail.com>
Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>,
	benoit.cousson@linaro.org, Tony Lindgren <tony@atomide.com>,
	Enric Balletbo i Serra <eballetbo@gmail.com>,
	linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/3] ARM: dts: omap3-igep: add pinmux node for GPIO LED configuration
Date: Tue, 13 Aug 2013 13:20:37 +0200	[thread overview]
Message-ID: <520A1685.10508@baylibre.com> (raw)
In-Reply-To: <CAAwP0s0BqsWqhi4vRxLHjDWdaVhPy2TL6syydV-=+vAYioi6ig@mail.gmail.com>

Hi Javier,

On 03/08/2013 21:11, Javier Martinez Canillas wrote:
> On Thu, Jun 20, 2013 at 4:42 PM, Javier Martinez Canillas
> <javier.martinez@collabora.co.uk> wrote:
>> IGEP boards have a number of LED connected to OMAP or TWL GPIO
>> lines. The actual wiring is different on each board so each board
>> DT has need to configure the mux correctly.
>>
>> Even though it works with the current DT, the kernel complains with:
>>
>> [2.305023] leds-gpio leds.18: pins are not configured from the driver
>>
>> Add an empty pinmux_leds_pins pinctrl child node so boards can
>> override with the correct mux configuration and not depend on
>> default values for the GPIO LEDs to work.
>>
>> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>> ---
>>   arch/arm/boot/dts/omap3-igep.dtsi |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi
>> index bc48b11..55f9f61 100644
>> --- a/arch/arm/boot/dts/omap3-igep.dtsi
>> +++ b/arch/arm/boot/dts/omap3-igep.dtsi
>> @@ -68,6 +68,8 @@
>>                          0x1a2 (PIN_INPUT | MUX_MODE4)           /* mcspi1_cs2.gpio_176 */
>>                  >;
>>          };
>> +
>> +       leds_pins: pinmux_leds_pins { };

I'm just wondering what will happen if you do not override it with the 
board file?

Will we still have the warning? Because the warning is there to notify 
you that the pin config is missing so we should not prevent that to work.

Regards,
Benoit


  reply	other threads:[~2013-08-13 11:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20 14:42 [PATCH 1/3] ARM: dts: omap3-igep: add pinmux node for GPIO LED configuration Javier Martinez Canillas
2013-06-20 14:42 ` [PATCH 2/3] ARM: dts: omap3-igep0020: add mux conf for GPIO LEDs Javier Martinez Canillas
2013-06-27  8:09   ` Enric Balletbo Serra
2013-07-12  0:14   ` Javier Martinez Canillas
2013-06-20 14:42 ` [PATCH 3/3] ARM: dts: omap3-igep0030: add mux conf for GPIO LED Javier Martinez Canillas
2013-06-27  8:09   ` Enric Balletbo Serra
2013-08-03 19:11 ` [PATCH 1/3] ARM: dts: omap3-igep: add pinmux node for GPIO LED configuration Javier Martinez Canillas
2013-08-13 11:20   ` Benoit Cousson [this message]
2013-08-13 11:35     ` Javier Martinez Canillas

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=520A1685.10508@baylibre.com \
    --to=bcousson@baylibre.com \
    --cc=benoit.cousson@linaro.org \
    --cc=eballetbo@gmail.com \
    --cc=javier.martinez@collabora.co.uk \
    --cc=linux-omap@vger.kernel.org \
    --cc=martinez.javier@gmail.com \
    --cc=tony@atomide.com \
    /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.