devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates
@ 2012-05-08 16:37 Benoit Cousson
  2012-05-08 16:37 ` [PATCH 1/3] arm/dts: twl4030: Add twl4030-gpio node Benoit Cousson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Benoit Cousson @ 2012-05-08 16:37 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, linux-arm-kernel, devicetree-discuss, Benoit Cousson

Hi Tony,

Here is a small series I have done for 3.4 but never posted before.
It adds GPIO node for twl4030 embedded gpio controller and some LEDs data
to be able to get rid of the static init done in board file right now.

It is based on arm-soc/omap/dt-missed-3.4 to get the previous patches not yet
in linus/master.

The patches are available here:
git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.5/dts/all

Regards,
Benoit


Benoit Cousson (3):
  arm/dts: twl4030: Add twl4030-gpio node
  arm/dts: omap4-sdp: Add LEDs support
  arm/dts: omap4-panda: Add LEDs support

 arch/arm/boot/dts/omap4-panda.dts |   15 +++++++++++++
 arch/arm/boot/dts/omap4-sdp.dts   |   43 +++++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/twl4030.dtsi    |    8 +++++++
 3 files changed, 66 insertions(+), 0 deletions(-)


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

* [PATCH 1/3] arm/dts: twl4030: Add twl4030-gpio node
  2012-05-08 16:37 [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates Benoit Cousson
@ 2012-05-08 16:37 ` Benoit Cousson
  2012-05-08 16:37 ` [PATCH 2/3] arm/dts: omap4-sdp: Add LEDs support Benoit Cousson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Benoit Cousson @ 2012-05-08 16:37 UTC (permalink / raw)
  To: tony
  Cc: linux-omap, linux-arm-kernel, devicetree-discuss, Benoit Cousson,
	Felipe Balbi

Add the twl-gpio node inside twl4030 definition.

Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
---
 arch/arm/boot/dts/twl4030.dtsi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
index a94654c..22f4d13 100644
--- a/arch/arm/boot/dts/twl4030.dtsi
+++ b/arch/arm/boot/dts/twl4030.dtsi
@@ -36,4 +36,12 @@
 		regulator-min-microvolt = <1850000>;
 		regulator-max-microvolt = <3150000>;
 	};
+
+	twl_gpio: gpio {
+		compatible = "ti,twl4030-gpio";
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <1>;
+	};
 };
-- 
1.7.0.4


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

* [PATCH 2/3] arm/dts: omap4-sdp: Add LEDs support
  2012-05-08 16:37 [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates Benoit Cousson
  2012-05-08 16:37 ` [PATCH 1/3] arm/dts: twl4030: Add twl4030-gpio node Benoit Cousson
@ 2012-05-08 16:37 ` Benoit Cousson
  2012-05-08 16:37 ` [PATCH 3/3] arm/dts: omap4-panda: " Benoit Cousson
  2012-05-10  0:19 ` [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates Tony Lindgren
  3 siblings, 0 replies; 5+ messages in thread
From: Benoit Cousson @ 2012-05-08 16:37 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, linux-arm-kernel, devicetree-discuss, Benoit Cousson

Add the debug LEDs nodes for an OMAP4 SDP/Blaze.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
---
 arch/arm/boot/dts/omap4-sdp.dts |   43 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts
index 67b2e98..e5eeb6f 100644
--- a/arch/arm/boot/dts/omap4-sdp.dts
+++ b/arch/arm/boot/dts/omap4-sdp.dts
@@ -27,6 +27,49 @@
 		enable-active-high;
 		regulator-boot-on;
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		debug0 {
+			label = "omap4:green:debug0";
+			gpios = <&gpio2 29 0>; /* 61 */
+		};
+
+		debug1 {
+			label = "omap4:green:debug1";
+			gpios = <&gpio1 30 0>; /* 30 */
+		};
+
+		debug2 {
+			label = "omap4:green:debug2";
+			gpios = <&gpio1 7 0>; /* 7 */
+		};
+
+		debug3 {
+			label = "omap4:green:debug3";
+			gpios = <&gpio1 8 0>; /* 8 */
+		};
+
+		debug4 {
+			label = "omap4:green:debug4";
+			gpios = <&gpio2 18 0>; /* 50 */
+		};
+
+		user1 {
+			label = "omap4:blue:user";
+			gpios = <&gpio6 9 0>; /* 169 */
+		};
+
+		user2 {
+			label = "omap4:red:user";
+			gpios = <&gpio6 10 0>; /* 170 */
+		};
+
+		user3 {
+			label = "omap4:green:user";
+			gpios = <&gpio5 11 0>; /* 139 */
+		};
+	};
 };
 
 &i2c1 {
-- 
1.7.0.4


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

* [PATCH 3/3] arm/dts: omap4-panda: Add LEDs support
  2012-05-08 16:37 [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates Benoit Cousson
  2012-05-08 16:37 ` [PATCH 1/3] arm/dts: twl4030: Add twl4030-gpio node Benoit Cousson
  2012-05-08 16:37 ` [PATCH 2/3] arm/dts: omap4-sdp: Add LEDs support Benoit Cousson
@ 2012-05-08 16:37 ` Benoit Cousson
  2012-05-10  0:19 ` [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates Tony Lindgren
  3 siblings, 0 replies; 5+ messages in thread
From: Benoit Cousson @ 2012-05-08 16:37 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, linux-arm-kernel, devicetree-discuss, Benoit Cousson

Add the debug LEDs nodes for an OMAP4 PandaBoard.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
---
 arch/arm/boot/dts/omap4-panda.dts |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts
index ea6f5bb..e671361 100644
--- a/arch/arm/boot/dts/omap4-panda.dts
+++ b/arch/arm/boot/dts/omap4-panda.dts
@@ -17,6 +17,21 @@
 		device_type = "memory";
 		reg = <0x80000000 0x40000000>; /* 1 GB */
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "pandaboard::status1";
+			gpios = <&gpio1 7 0>;
+			linux,default-trigger = "heartbeat";
+		};
+
+		mmc {
+			label = "pandaboard::status2";
+			gpios = <&gpio1 8 0>;
+			linux,default-trigger = "mmc0";
+		};
+	};
 };
 
 &i2c1 {
-- 
1.7.0.4


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

* Re: [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates
  2012-05-08 16:37 [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates Benoit Cousson
                   ` (2 preceding siblings ...)
  2012-05-08 16:37 ` [PATCH 3/3] arm/dts: omap4-panda: " Benoit Cousson
@ 2012-05-10  0:19 ` Tony Lindgren
  3 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2012-05-10  0:19 UTC (permalink / raw)
  To: Benoit Cousson; +Cc: linux-omap, linux-arm-kernel, devicetree-discuss

* Benoit Cousson <b-cousson@ti.com> [120508 09:41]:
> Hi Tony,
> 
> Here is a small series I have done for 3.4 but never posted before.
> It adds GPIO node for twl4030 embedded gpio controller and some LEDs data
> to be able to get rid of the static init done in board file right now.
> 
> It is based on arm-soc/omap/dt-missed-3.4 to get the previous patches not yet
> in linus/master.

Thanks I'll apply these into dt branch.

Regards,

Tony

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

end of thread, other threads:[~2012-05-10  0:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-08 16:37 [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates Benoit Cousson
2012-05-08 16:37 ` [PATCH 1/3] arm/dts: twl4030: Add twl4030-gpio node Benoit Cousson
2012-05-08 16:37 ` [PATCH 2/3] arm/dts: omap4-sdp: Add LEDs support Benoit Cousson
2012-05-08 16:37 ` [PATCH 3/3] arm/dts: omap4-panda: " Benoit Cousson
2012-05-10  0:19 ` [PATCH 0/3] ARM: OMAP: OMAP4 DTS updates Tony Lindgren

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