Re: [PATCH 3/3] ARM: dts: omap3-igep0030: add mux conf for GPIO LED

2013-06-27 Thread Enric Balletbo Serra
2013/6/20 Javier Martinez Canillas javier.marti...@collabora.co.uk:
 The IGEP COM MOdule has a GPIO LED connected to OMAP
 pins. Configure this pin as output GPIO.

 Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk
 ---
  arch/arm/boot/dts/omap3-igep0030.dts |9 +
  1 files changed, 9 insertions(+), 0 deletions(-)

 diff --git a/arch/arm/boot/dts/omap3-igep0030.dts 
 b/arch/arm/boot/dts/omap3-igep0030.dts
 index 644d053..eee3c63 100644
 --- a/arch/arm/boot/dts/omap3-igep0030.dts
 +++ b/arch/arm/boot/dts/omap3-igep0030.dts
 @@ -16,7 +16,10 @@
 compatible = isee,omap3-igep0030, ti,omap3;

 leds {
 +   pinctrl-names = default;
 +   pinctrl-0 = leds_pins;
 compatible = gpio-leds;
 +
 boot {
  label = omap3:green:boot;
  gpios = twl_gpio 13 GPIO_ACTIVE_LOW;
 @@ -43,6 +46,12 @@
 };
  };

 +leds_pins {
 +   pinctrl-single,pins = 
 +   0x5b0 (PIN_OUTPUT | MUX_MODE4) /* etk_d2.gpio_16 */
 +   ;
 +};
 +
  gpmc {
 ranges = 0 0 0x 0x2000;

 --
 1.7.7.6

Tested-by: Enric Balletbo i Serra eballe...@iseebcn.com
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 3/3] ARM: dts: omap3-igep0030: add mux conf for GPIO LED

2013-06-20 Thread Javier Martinez Canillas
The IGEP COM MOdule has a GPIO LED connected to OMAP
pins. Configure this pin as output GPIO.

Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk
---
 arch/arm/boot/dts/omap3-igep0030.dts |9 +
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-igep0030.dts 
b/arch/arm/boot/dts/omap3-igep0030.dts
index 644d053..eee3c63 100644
--- a/arch/arm/boot/dts/omap3-igep0030.dts
+++ b/arch/arm/boot/dts/omap3-igep0030.dts
@@ -16,7 +16,10 @@
compatible = isee,omap3-igep0030, ti,omap3;
 
leds {
+   pinctrl-names = default;
+   pinctrl-0 = leds_pins;
compatible = gpio-leds;
+
boot {
 label = omap3:green:boot;
 gpios = twl_gpio 13 GPIO_ACTIVE_LOW;
@@ -43,6 +46,12 @@
};
 };
 
+leds_pins {
+   pinctrl-single,pins = 
+   0x5b0 (PIN_OUTPUT | MUX_MODE4) /* etk_d2.gpio_16 */
+   ;
+};
+
 gpmc {
ranges = 0 0 0x 0x2000;
 
-- 
1.7.7.6

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html