All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Avinash <avinashphilip@ti.com>
To: <nsekhar@ti.com>, <khilman@deeprootsystems.com>,
	<linux@arm.linux.org.uk>, <grant.likely@secretlab.ca>,
	<linus.walleij@linaro.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<davinci-linux-open-source@linux.davincidsp.com>,
	<linux-kernel@vger.kernel.org>, KV Sujith <sujithkv@ti.com>,
	Philip Avinash <avinashphilip@ti.com>
Subject: [PATCH 11/11] ARM: davinci: da850 evm: add GPIO DT data
Date: Wed, 22 May 2013 12:40:34 +0530	[thread overview]
Message-ID: <1369206634-6778-12-git-send-email-avinashphilip@ti.com> (raw)
In-Reply-To: <1369206634-6778-1-git-send-email-avinashphilip@ti.com>

From: KV Sujith <sujithkv@ti.com>

- Add GPIO DT Data and pinmux for DA850 EVM. GPIO is configurable differently
  on different boards. So add GPIO pinmuxing in dts file.
- Dependency: This patch is dependent on Grab-pin-control patch;
  https://patchwork.kernel.org/patch/2013751/

Signed-off-by: KV Sujith <sujithkv@ti.com>
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
---
 arch/arm/boot/dts/da850-evm.dts |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index c914357..ab59e60 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -17,6 +17,20 @@
 	soc {
 		pmx_core: pinmux@1c14120 {
 			status = "okay";
+			gpio_pins: pinmux_gpio_pins {
+				pinctrl-single,bits = <
+					/* GPIO2_4 GPIO2_6 */
+					0x18 0x00008080 0x0000f0f0
+					/* GPIO2_8 GPIO2_15 */
+					0x14 0x80000008 0xf000000f
+					/* GPIO3_12 GPIO3_13 */
+					0x1C 0x00008800 0x0000ff00
+					/* GPIO4_0 GPIO4_1 */
+					0x28 0x88000000 0xff000000
+					/* GPIO6_9 GPIO6_10 GPIO6_13 */
+					0x34 0x08800800 0x0ff00f00
+				>;
+			};
 		};
 		serial0: serial@1c42000 {
 			status = "okay";
@@ -90,6 +104,11 @@
 				};
 			};
 		};
+		gpio: gpio@1e26000 {
+			status = "okay";
+			pinctrl-names = "default";
+			pinctrl-0 = <&gpio_pins>;
+		};
 	};
 	nand_cs3@62000000 {
 		status = "okay";
-- 
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 11/11] ARM: davinci: da850 evm: add GPIO DT data
Date: Wed, 22 May 2013 12:40:34 +0530	[thread overview]
Message-ID: <1369206634-6778-12-git-send-email-avinashphilip@ti.com> (raw)
In-Reply-To: <1369206634-6778-1-git-send-email-avinashphilip@ti.com>

From: KV Sujith <sujithkv@ti.com>

- Add GPIO DT Data and pinmux for DA850 EVM. GPIO is configurable differently
  on different boards. So add GPIO pinmuxing in dts file.
- Dependency: This patch is dependent on Grab-pin-control patch;
  https://patchwork.kernel.org/patch/2013751/

Signed-off-by: KV Sujith <sujithkv@ti.com>
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
---
 arch/arm/boot/dts/da850-evm.dts |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index c914357..ab59e60 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -17,6 +17,20 @@
 	soc {
 		pmx_core: pinmux at 1c14120 {
 			status = "okay";
+			gpio_pins: pinmux_gpio_pins {
+				pinctrl-single,bits = <
+					/* GPIO2_4 GPIO2_6 */
+					0x18 0x00008080 0x0000f0f0
+					/* GPIO2_8 GPIO2_15 */
+					0x14 0x80000008 0xf000000f
+					/* GPIO3_12 GPIO3_13 */
+					0x1C 0x00008800 0x0000ff00
+					/* GPIO4_0 GPIO4_1 */
+					0x28 0x88000000 0xff000000
+					/* GPIO6_9 GPIO6_10 GPIO6_13 */
+					0x34 0x08800800 0x0ff00f00
+				>;
+			};
 		};
 		serial0: serial at 1c42000 {
 			status = "okay";
@@ -90,6 +104,11 @@
 				};
 			};
 		};
+		gpio: gpio at 1e26000 {
+			status = "okay";
+			pinctrl-names = "default";
+			pinctrl-0 = <&gpio_pins>;
+		};
 	};
 	nand_cs3 at 62000000 {
 		status = "okay";
-- 
1.7.9.5

  parent reply	other threads:[~2013-05-22  7:12 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22  7:10 [PATCH 00/11] Convert GPIO Davinci to platform driver Philip Avinash
2013-05-22  7:10 ` Philip Avinash
2013-05-22  7:10 ` [PATCH 01/11] ARM: davinci: GPIO: Add platform data structure Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-30 18:06   ` Linus Walleij
2013-05-30 18:06     ` Linus Walleij
2013-06-11 10:36   ` Sekhar Nori
2013-06-11 10:36     ` Sekhar Nori
2013-06-11 11:10     ` Sergei Shtylyov
2013-06-11 11:10       ` Sergei Shtylyov
2013-06-11 12:53     ` Philip, Avinash
2013-06-11 12:53       ` Philip, Avinash
2013-05-22  7:10 ` [PATCH 02/11] gpio: davinci: coding style correction Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-22 12:59   ` Sergei Shtylyov
2013-05-22 12:59     ` Sergei Shtylyov
2013-05-23  6:27     ` Philip, Avinash
2013-05-23  6:27       ` Philip, Avinash
2013-05-22 14:40   ` Russell King - ARM Linux
2013-05-22 14:40     ` Russell King - ARM Linux
2013-05-23  6:27     ` Philip, Avinash
2013-05-23  6:27       ` Philip, Avinash
2013-06-11 11:42   ` Sekhar Nori
2013-06-11 11:42     ` Sekhar Nori
2013-05-22  7:10 ` [PATCH 03/11] gpio: davinci: Modify to platform driver Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-30 18:12   ` Linus Walleij
2013-05-30 18:12     ` Linus Walleij
2013-06-11 11:56   ` Sekhar Nori
2013-06-11 11:56     ` Sekhar Nori
2013-06-11 12:55     ` Philip, Avinash
2013-06-11 12:55       ` Philip, Avinash
2013-06-12  7:43       ` Sekhar Nori
2013-06-12  7:43         ` Sekhar Nori
2013-06-12 12:10         ` Philip, Avinash
2013-06-12 12:10           ` Philip, Avinash
2013-06-13  6:17           ` Sekhar Nori
2013-06-13  6:17             ` Sekhar Nori
2013-06-13  7:32             ` Philip, Avinash
2013-06-13  7:32               ` Philip, Avinash
2013-06-13  8:29               ` Sekhar Nori
2013-06-13  8:29                 ` Sekhar Nori
2013-06-13  9:18                 ` Philip, Avinash
2013-06-13  9:18                   ` Philip, Avinash
2013-05-22  7:10 ` [PATCH 04/11] ARM: davinci: da8xx: creation of gpio platform device Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-30 18:14   ` Linus Walleij
2013-05-30 18:14     ` Linus Walleij
2013-05-22  7:10 ` [PATCH 05/11] ARM: davinci: creation of gpio platform device for dm platforms Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-30 18:15   ` Linus Walleij
2013-05-30 18:15     ` Linus Walleij
2013-05-22  7:10 ` [PATCH 06/11] ARM: davinci: da8xx: gpio device creation Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-30 18:16   ` Linus Walleij
2013-05-30 18:16     ` Linus Walleij
2013-05-22  7:10 ` [PATCH 07/11] ARM: davinci: create davinci gpio device for dm platforms Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-30 18:16   ` Linus Walleij
2013-05-30 18:16     ` Linus Walleij
2013-05-22  7:10 ` [PATCH 08/11] ARM: davinci: start using gpiolib support Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-30 18:19   ` Linus Walleij
2013-05-30 18:19     ` Linus Walleij
2013-05-22  7:10 ` [PATCH 09/11] gpio: davinci: DT changes for driver Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-30 18:25   ` Linus Walleij
2013-05-30 18:25     ` Linus Walleij
2013-05-30 18:25     ` Linus Walleij
2013-06-10 11:45     ` Philip, Avinash
2013-06-10 11:45       ` Philip, Avinash
2013-06-10 11:45       ` Philip, Avinash
2013-05-22  7:10 ` [PATCH 10/11] ARM: davinci: da850: add GPIO DT entries Philip Avinash
2013-05-22  7:10   ` Philip Avinash
2013-05-22  7:10 ` Philip Avinash [this message]
2013-05-22  7:10   ` [PATCH 11/11] ARM: davinci: da850 evm: add GPIO DT data Philip Avinash
2013-05-30 18:26   ` Linus Walleij
2013-05-30 18:26     ` Linus Walleij
2013-05-30 18:04 ` [PATCH 00/11] Convert GPIO Davinci to platform driver Linus Walleij
2013-05-30 18:04   ` Linus Walleij
2013-06-07  8:10 ` Sekhar Nori
2013-06-07  8:10   ` Sekhar Nori
2013-06-10  9:02   ` Philip, Avinash
2013-06-10  9:02     ` Philip, Avinash
2013-06-11  4:39     ` Sekhar Nori
2013-06-11  4:39       ` Sekhar Nori
2013-06-11  6:49       ` Philip, Avinash
2013-06-11  6:49         ` Philip, Avinash
2013-06-11 11:40         ` Sekhar Nori
2013-06-11 11:40           ` 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=1369206634-6778-12-git-send-email-avinashphilip@ti.com \
    --to=avinashphilip@ti.com \
    --cc=davinci-linux-open-source@linux.davincidsp.com \
    --cc=grant.likely@secretlab.ca \
    --cc=khilman@deeprootsystems.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nsekhar@ti.com \
    --cc=sujithkv@ti.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 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.