Skip to contentSkip to conversation

ARM: shmobile: Enable GPIO LEDs on Genmai

PATCH New Magnus Damm 2 participants 3 messages Nov 13, 2013 – Nov 19, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: Enable GPIO LEDs on Genmai

From: Magnus Damm <[email protected]>

Enable led1 and led2 on the Genmai board using
the r7s72100 SoC and the GPIO RZ driver.

---

 arch/arm/boot/dts/r7s72100-genmai-reference.dts |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
arch/arm/boot/dts/r7s72100-genmai-reference.dts +12 -1
@@ -9,7 +9,8 @@
  */
 
 /dts-v1/;
-/include/ "r7s72100.dtsi"
+#include "r7s72100.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "Genmai";
@@ -28,4 +29,14 @@
 		#address-cells = <1>;
 		#size-cells = <1>;
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		led1 {
+			gpios = <&p4 10 GPIO_ACTIVE_LOW>;
+		};
+		led2 {
+			gpios = <&p4 11 GPIO_ACTIVE_LOW>;
+		};
+	};
 };
#1 lore raw

PATCH 1/1 ARM: shmobile: Enable GPIO LEDs on Genmai

Quoted 4 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Enable led1 and led2 on the Genmai board using
the r7s72100 SoC and the GPIO RZ driver.

Thanks, I have queued this up.

I think there should be an accompanying defconfig update. Would you like me to prepare something?

#2 lore raw

PATCH 1/1 ARM: shmobile: Enable GPIO LEDs on Genmai

Quoted 7 lines · Simon Horman
Quoted 4 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Enable led1 and led2 on the Genmai board using
the r7s72100 SoC and the GPIO RZ driver.

Thanks, I have queued this up.

I was a little to hasty. I have unqueued this patch
as it depends on "ARM: shmobile: r7s72100 GPIO DT nodes for GPIO RZ" which appears to still be under discussion.

Quoted 8 lines

I think there should be an accompanying defconfig update. Would you like me to prepare something?
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html