]> Pileus Git - ~andy/linux/commitdiff
ARM: dts: omap3-igep: add pinmux node for GPIO LED configuration
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Thu, 20 Jun 2013 14:42:30 +0000 (16:42 +0200)
committerBenoit Cousson <bcousson@baylibre.com>
Tue, 8 Oct 2013 15:51:39 +0000 (17:51 +0200)
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>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/omap3-igep.dtsi

index 2326d11462a57dcb9e43991b359f63ce14da1520..0f92224dc4fc6a95e157fa524f6ef49dbb8cb68a 100644 (file)
@@ -77,6 +77,8 @@
                        0x1a2 (PIN_INPUT | MUX_MODE4)           /* mcspi1_cs2.gpio_176 */
                >;
        };
+
+       leds_pins: pinmux_leds_pins { };
 };
 
 &i2c1 {