All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: omap3-igep: add pinmux node for GPIO LED configuration
@ 2013-06-20 14:42 Javier Martinez Canillas
  2013-06-20 14:42 ` [PATCH 2/3] ARM: dts: omap3-igep0020: add mux conf for GPIO LEDs Javier Martinez Canillas
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Javier Martinez Canillas @ 2013-06-20 14:42 UTC (permalink / raw)
  To: Benoît Cousson
  Cc: Tony Lindgren, Enric Balletbo i Serra, linux-omap,
	Javier Martinez Canillas

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 { };
 };
 
 &i2c1 {
-- 
1.7.7.6


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-13 11:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-08-13 11:35     ` Javier Martinez Canillas

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.