linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: Enable GPIO LEDs on Genmai
@ 2013-11-13 23:42 Magnus Damm
  2013-11-19  2:04 ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Magnus Damm @ 2013-11-13 23:42 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

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

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/arm/boot/dts/r7s72100-genmai-reference.dts |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

--- 0001/arch/arm/boot/dts/r7s72100-genmai-reference.dts
+++ work/arch/arm/boot/dts/r7s72100-genmai-reference.dts	2013-11-13 22:39:40.000000000 +0900
@@ -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>;
+		};
+	};
 };

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

* [PATCH] ARM: shmobile: Enable GPIO LEDs on Genmai
  2013-11-13 23:42 [PATCH] ARM: shmobile: Enable GPIO LEDs on Genmai Magnus Damm
@ 2013-11-19  2:04 ` Simon Horman
  2013-11-19  2:08   ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Horman @ 2013-11-19  2:04 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Nov 14, 2013 at 08:42:30AM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> 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?

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

* [PATCH] ARM: shmobile: Enable GPIO LEDs on Genmai
  2013-11-19  2:04 ` Simon Horman
@ 2013-11-19  2:08   ` Simon Horman
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-11-19  2:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 19, 2013 at 11:04:25AM +0900, Simon Horman wrote:
> On Thu, Nov 14, 2013 at 08:42:30AM +0900, Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> > 
> > 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.

> 
> 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
> 

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13 23:42 [PATCH] ARM: shmobile: Enable GPIO LEDs on Genmai Magnus Damm
2013-11-19  2:04 ` Simon Horman
2013-11-19  2:08   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).