All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: DT: tegra: Add gpio-leds to Tegra30 Beaver
@ 2013-05-11  0:40 ` Eric Brower
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Brower @ 2013-05-11  0:40 UTC (permalink / raw)
  To: swarren-3lzwWm7+Weoh9ZMKESR00Q,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Eric Brower

Add support for general-purpose LEDs present on Beaver

Signed-off-by: Eric Brower <ebrower-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 arch/arm/boot/dts/tegra30-beaver.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts
index 6248b24..d44cd81 100644
--- a/arch/arm/boot/dts/tegra30-beaver.dts
+++ b/arch/arm/boot/dts/tegra30-beaver.dts
@@ -383,4 +383,17 @@
 			vin-supply = <&sys_3v3_reg>;
 		};
 	};
+
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		gpled1 {
+			label = "LED1"; /* CR5A1 (blue) */
+			gpios = <&gpio 89 0>; /* gpio PL1 */
+		};
+		gpled2 {
+			label = "LED2"; /* CR4A2 (green) */
+			gpios = <&gpio 88 0>; /* gpio PL0 */
+		};
+	};
 };
-- 
1.8.1.5
nvpublic

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

* [PATCH 1/1] ARM: DT: tegra: Add gpio-leds to Tegra30 Beaver
@ 2013-05-11  0:40 ` Eric Brower
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Brower @ 2013-05-11  0:40 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for general-purpose LEDs present on Beaver

Signed-off-by: Eric Brower <ebrower@nvidia.com>
---
 arch/arm/boot/dts/tegra30-beaver.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts
index 6248b24..d44cd81 100644
--- a/arch/arm/boot/dts/tegra30-beaver.dts
+++ b/arch/arm/boot/dts/tegra30-beaver.dts
@@ -383,4 +383,17 @@
 			vin-supply = <&sys_3v3_reg>;
 		};
 	};
+
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		gpled1 {
+			label = "LED1"; /* CR5A1 (blue) */
+			gpios = <&gpio 89 0>; /* gpio PL1 */
+		};
+		gpled2 {
+			label = "LED2"; /* CR4A2 (green) */
+			gpios = <&gpio 88 0>; /* gpio PL0 */
+		};
+	};
 };
-- 
1.8.1.5
nvpublic

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

* Re: [PATCH 1/1] ARM: DT: tegra: Add gpio-leds to Tegra30 Beaver
  2013-05-11  0:40 ` Eric Brower
@ 2013-05-17 23:52     ` Stephen Warren
  -1 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2013-05-17 23:52 UTC (permalink / raw)
  To: Eric Brower
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On 05/10/2013 06:40 PM, Eric Brower wrote:
> Add support for general-purpose LEDs present on Beaver

I've applied this to Tegra's for-3.11/dt branch. When applying, I moved
the newly added node to maintain the node sort order.

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

* [PATCH 1/1] ARM: DT: tegra: Add gpio-leds to Tegra30 Beaver
@ 2013-05-17 23:52     ` Stephen Warren
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2013-05-17 23:52 UTC (permalink / raw)
  To: linux-arm-kernel

On 05/10/2013 06:40 PM, Eric Brower wrote:
> Add support for general-purpose LEDs present on Beaver

I've applied this to Tegra's for-3.11/dt branch. When applying, I moved
the newly added node to maintain the node sort order.

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

end of thread, other threads:[~2013-05-17 23:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-11  0:40 [PATCH 1/1] ARM: DT: tegra: Add gpio-leds to Tegra30 Beaver Eric Brower
2013-05-11  0:40 ` Eric Brower
     [not found] ` <1368232829-25716-1-git-send-email-ebrower-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-17 23:52   ` Stephen Warren
2013-05-17 23:52     ` Stephen Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.