All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Avinash <avinashphilip@ti.com>
To: <nsekhar@ti.com>, <linux@arm.linux.org.uk>,
	<grant.likely@secretlab.ca>, <linus.walleij@linaro.org>,
	<rob.herring@calxeda.com>, <rob@landley.net>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<davinci-linux-open-source@linux.davincidsp.com>,
	<linux-kernel@vger.kernel.org>,
	<devicetree-discuss@lists.ozlabs.org>,
	<linux-doc@vger.kernel.org>, <avinashphilip@ti.com>
Subject: [PATCH v2 3/4] ARM: davinci: da850: add GPIO DT entries
Date: Fri, 14 Jun 2013 15:15:55 +0530	[thread overview]
Message-ID: <1371203156-15260-4-git-send-email-avinashphilip@ti.com> (raw)
In-Reply-To: <1371203020-15092-1-git-send-email-avinashphilip@ti.com>

From: KV Sujith <sujithkv@ti.com>

Add DT entries for Davinci GPIO.

Signed-off-by: KV Sujith <sujithkv@ti.com>
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
---
Changes since v1:
	- interrupts member defined as array and with interrupt flags

 arch/arm/boot/dts/da850.dtsi |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 3b66020..cd7b362 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -8,6 +8,7 @@
  * option) any later version.
  */
 #include "skeleton.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
 	arm {
@@ -126,6 +127,20 @@
 				>;
 			};
 		};
+		gpio: gpio@1e26000 {
+			compatible = "ti,da830-gpio";
+			reg = <0x226000 0x1000>;
+			interrupts = <42 IRQ_TYPE_EDGE_BOTH
+				43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH
+				45 IRQ_TYPE_EDGE_BOTH 46 IRQ_TYPE_EDGE_BOTH
+				47 IRQ_TYPE_EDGE_BOTH 48 IRQ_TYPE_EDGE_BOTH
+				49 IRQ_TYPE_EDGE_BOTH 50 IRQ_TYPE_EDGE_BOTH>;
+			ngpio = <144>;
+			intc_irq_num = <101>;
+			gpio_unbanked = <0>;
+			status = "disabled";
+		};
 		serial0: serial@1c42000 {
 			compatible = "ns16550a";
 			reg = <0x42000 0x100>;
-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: Philip Avinash <avinashphilip-l0cyMroinI0@public.gmane.org>
To: nsekhar-l0cyMroinI0@public.gmane.org,
	linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
	grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org,
	linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org,
	rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org
Cc: davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org,
	linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	avinashphilip-l0cyMroinI0@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: [PATCH v2 3/4] ARM: davinci: da850: add GPIO DT entries
Date: Fri, 14 Jun 2013 15:15:55 +0530	[thread overview]
Message-ID: <1371203156-15260-4-git-send-email-avinashphilip@ti.com> (raw)
In-Reply-To: <1371203020-15092-1-git-send-email-avinashphilip-l0cyMroinI0@public.gmane.org>

From: KV Sujith <sujithkv-l0cyMroinI0@public.gmane.org>

Add DT entries for Davinci GPIO.

Signed-off-by: KV Sujith <sujithkv-l0cyMroinI0@public.gmane.org>
Signed-off-by: Philip Avinash <avinashphilip-l0cyMroinI0@public.gmane.org>
---
Changes since v1:
	- interrupts member defined as array and with interrupt flags

 arch/arm/boot/dts/da850.dtsi |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 3b66020..cd7b362 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -8,6 +8,7 @@
  * option) any later version.
  */
 #include "skeleton.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
 	arm {
@@ -126,6 +127,20 @@
 				>;
 			};
 		};
+		gpio: gpio@1e26000 {
+			compatible = "ti,da830-gpio";
+			reg = <0x226000 0x1000>;
+			interrupts = <42 IRQ_TYPE_EDGE_BOTH
+				43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH
+				45 IRQ_TYPE_EDGE_BOTH 46 IRQ_TYPE_EDGE_BOTH
+				47 IRQ_TYPE_EDGE_BOTH 48 IRQ_TYPE_EDGE_BOTH
+				49 IRQ_TYPE_EDGE_BOTH 50 IRQ_TYPE_EDGE_BOTH>;
+			ngpio = <144>;
+			intc_irq_num = <101>;
+			gpio_unbanked = <0>;
+			status = "disabled";
+		};
 		serial0: serial@1c42000 {
 			compatible = "ns16550a";
 			reg = <0x42000 0x100>;
-- 
1.7.9.5

WARNING: multiple messages have this Message-ID (diff)
From: avinashphilip@ti.com (Philip Avinash)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/4] ARM: davinci: da850: add GPIO DT entries
Date: Fri, 14 Jun 2013 15:15:55 +0530	[thread overview]
Message-ID: <1371203156-15260-4-git-send-email-avinashphilip@ti.com> (raw)
In-Reply-To: <1371203020-15092-1-git-send-email-avinashphilip@ti.com>

From: KV Sujith <sujithkv@ti.com>

Add DT entries for Davinci GPIO.

Signed-off-by: KV Sujith <sujithkv@ti.com>
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
---
Changes since v1:
	- interrupts member defined as array and with interrupt flags

 arch/arm/boot/dts/da850.dtsi |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 3b66020..cd7b362 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -8,6 +8,7 @@
  * option) any later version.
  */
 #include "skeleton.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
 	arm {
@@ -126,6 +127,20 @@
 				>;
 			};
 		};
+		gpio: gpio at 1e26000 {
+			compatible = "ti,da830-gpio";
+			reg = <0x226000 0x1000>;
+			interrupts = <42 IRQ_TYPE_EDGE_BOTH
+				43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH
+				45 IRQ_TYPE_EDGE_BOTH 46 IRQ_TYPE_EDGE_BOTH
+				47 IRQ_TYPE_EDGE_BOTH 48 IRQ_TYPE_EDGE_BOTH
+				49 IRQ_TYPE_EDGE_BOTH 50 IRQ_TYPE_EDGE_BOTH>;
+			ngpio = <144>;
+			intc_irq_num = <101>;
+			gpio_unbanked = <0>;
+			status = "disabled";
+		};
 		serial0: serial at 1c42000 {
 			compatible = "ns16550a";
 			reg = <0x42000 0x100>;
-- 
1.7.9.5

  parent reply	other threads:[~2013-06-14  9:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14  9:43 [PATCH v2 0/4] GPIO DT support for da850 Philip Avinash
2013-06-14  9:43 ` Philip Avinash
2013-06-14  9:43 ` Philip Avinash
2013-06-14  9:45 ` [PATCH v2 1/4] ARM: davinci: da850: Use #include for all device trees Philip Avinash
2013-06-14  9:45   ` Philip Avinash
2013-06-14  9:45   ` Philip Avinash
2013-06-20 11:06   ` Sekhar Nori
2013-06-20 11:06     ` Sekhar Nori
2013-06-20 11:06     ` Sekhar Nori
2013-06-14  9:45 ` Philip Avinash [this message]
2013-06-14  9:45   ` [PATCH v2 3/4] ARM: davinci: da850: add GPIO DT entries Philip Avinash
2013-06-14  9:45   ` Philip Avinash
2013-06-14  9:45 ` [PATCH v2 4/4] ARM: davinci: da850 evm: add GPIO DT data Philip Avinash
2013-06-14  9:45   ` Philip Avinash
2013-06-14  9:45   ` Philip Avinash
2013-06-14 10:20 ` [PATCH v2 2/4] gpio: davinci: DT changes for driver Philip Avinash
2013-06-14 10:20   ` Philip Avinash
2013-06-14 10:20   ` Philip Avinash
2013-06-19 19:10   ` Linus Walleij
2013-06-19 19:10     ` Linus Walleij
2013-06-19 19:10     ` Linus Walleij
2013-06-20  4:51     ` Sekhar Nori
2013-06-20  4:51       ` Sekhar Nori
2013-06-20  4:51       ` Sekhar Nori
2013-06-20 10:36   ` Sekhar Nori
2013-06-20 10:36     ` Sekhar Nori
2013-06-20 10:36     ` Sekhar Nori
2013-06-14 10:20 ` [PATCH v2 0/4] GPIO DT support for da850 Philip, Avinash
2013-06-14 10:20   ` Philip, Avinash
2013-06-14 10:20   ` Philip, Avinash
2013-08-11  9:34   ` Prabhakar Lad
2013-08-11  9:34     ` Prabhakar Lad
2013-08-11  9:34     ` Prabhakar Lad
2013-08-14  4:42     ` Sekhar Nori
2013-08-14  4:42       ` Sekhar Nori
2013-08-14  4:42       ` Sekhar Nori

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=1371203156-15260-4-git-send-email-avinashphilip@ti.com \
    --to=avinashphilip@ti.com \
    --cc=davinci-linux-open-source@linux.davincidsp.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nsekhar@ti.com \
    --cc=rob.herring@calxeda.com \
    --cc=rob@landley.net \
    /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 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.