devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: Benoit Cousson <b-cousson@ti.com>,
	Samuel Ortiz <sameo@linux.intel.com>,
	linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	devicetree-discuss@lists.ozlabs.org
Subject: [PATCH 2/2] ARM/dts: omap4-panda: Enable GPO functionality for twl6040
Date: Wed, 19 Sep 2012 12:43:05 +0300	[thread overview]
Message-ID: <1348047785-1681-3-git-send-email-peter.ujfalusi@ti.com> (raw)
In-Reply-To: <1348047785-1681-1-git-send-email-peter.ujfalusi@ti.com>

Add the needed properties for twl6040 so the GPO functionality can be used
by other drivers.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 arch/arm/boot/dts/omap4-panda.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts
index 20b966e..94adabb 100644
--- a/arch/arm/boot/dts/omap4-panda.dts
+++ b/arch/arm/boot/dts/omap4-panda.dts
@@ -71,6 +71,9 @@
 
 	twl6040: twl@4b {
 		compatible = "ti,twl6040";
+		gpio-controller;
+		#gpio-cells = <1>;
+
 		reg = <0x4b>;
 		/* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
 		interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
-- 
1.7.12


  parent reply	other threads:[~2012-09-19  9:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19  9:43 [PATCH 0/2] ARM/dts: OMAP4: Enable twl6040 GPO functionality Peter Ujfalusi
     [not found] ` <1348047785-1681-1-git-send-email-peter.ujfalusi-l0cyMroinI0@public.gmane.org>
2012-09-19  9:43   ` [PATCH 1/2] ARM/dts: omap4-sdp: Enable GPO functionality for twl6040 Peter Ujfalusi
2012-09-19  9:43 ` Peter Ujfalusi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-06 13:06 [PATCH 0/2] ARM/dts: omap4 boards: Enable the use of GPO on twl6040 Peter Ujfalusi
2012-09-06 13:06 ` [PATCH 2/2] ARM/dts: omap4-panda: Enable GPO functionality for twl6040 Peter Ujfalusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348047785-1681-3-git-send-email-peter.ujfalusi@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=b-cousson@ti.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).