linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: Koelsch DT reference GPIO LED support
@ 2013-11-21  0:44 Magnus Damm
  2013-11-25  2:31 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2013-11-21  0:44 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

Add led6, led7 and led8 to the Koelsch DT reference board support.

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

 arch/arm/boot/dts/r8a7791-koelsch-reference.dts |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

--- 0024/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
+++ work/arch/arm/boot/dts/r8a7791-koelsch-reference.dts	2013-11-20 17:15:02.000000000 +0900
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 #include "r8a7791.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "Koelsch";
@@ -29,6 +30,19 @@
 		#address-cells = <1>;
 		#size-cells = <1>;
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		led6 {
+			gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
+		};
+		led7 {
+			gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
+		};
+		led8 {
+			gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
+		};
+	};
 };
 
 &pfc {

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

* [PATCH] ARM: shmobile: Koelsch DT reference GPIO LED support
  2013-11-21  0:44 [PATCH] ARM: shmobile: Koelsch DT reference GPIO LED support Magnus Damm
@ 2013-11-25  2:31 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2013-11-25  2:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Nov 21, 2013 at 09:44:04AM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> Add led6, led7 and led8 to the Koelsch DT reference board support.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

Thanks, I have queued this up.

> ---
> 
>  arch/arm/boot/dts/r8a7791-koelsch-reference.dts |   14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> --- 0024/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
> +++ work/arch/arm/boot/dts/r8a7791-koelsch-reference.dts	2013-11-20 17:15:02.000000000 +0900
> @@ -11,6 +11,7 @@
>  
>  /dts-v1/;
>  #include "r8a7791.dtsi"
> +#include <dt-bindings/gpio/gpio.h>
>  
>  / {
>  	model = "Koelsch";
> @@ -29,6 +30,19 @@
>  		#address-cells = <1>;
>  		#size-cells = <1>;
>  	};
> +
> +	leds {
> +		compatible = "gpio-leds";
> +		led6 {
> +			gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
> +		};
> +		led7 {
> +			gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
> +		};
> +		led8 {
> +			gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
> +		};
> +	};
>  };
>  
>  &pfc {
> 

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21  0:44 [PATCH] ARM: shmobile: Koelsch DT reference GPIO LED support Magnus Damm
2013-11-25  2:31 ` 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).