All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] omap3+: Add OMAP support for cmd_gpio
@ 2011-08-10  5:17 Joe Hershberger
  2011-08-10  5:17 ` [U-Boot] [PATCH 2/2] omap4_panda: Build in cmd_gpio support on panda Joe Hershberger
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Joe Hershberger @ 2011-08-10  5:17 UTC (permalink / raw)
  To: u-boot

Add a shim driver to drivers/gpio that maps the standard GPIO API to the OMAP GPIO API
Empty gpio.h is needed in the asm/arch dirs for omap3 and omap4 due to include in asm/gpio.h

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
---
 arch/arm/include/asm/arch-omap3/gpio.h |    1 +
 arch/arm/include/asm/arch-omap4/gpio.h |    1 +
 drivers/gpio/Makefile                  |    1 +
 drivers/gpio/omap_gpio.c               |   69 ++++++++++++++++++++++++++++++++
 4 files changed, 72 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-omap3/gpio.h
 create mode 100644 arch/arm/include/asm/arch-omap4/gpio.h
 create mode 100644 drivers/gpio/omap_gpio.c

diff --git a/arch/arm/include/asm/arch-omap3/gpio.h b/arch/arm/include/asm/arch-omap3/gpio.h
new file mode 100644
index 0000000..fdeeadb
--- /dev/null
+++ b/arch/arm/include/asm/arch-omap3/gpio.h
@@ -0,0 +1 @@
+/* gpio.h */
diff --git a/arch/arm/include/asm/arch-omap4/gpio.h b/arch/arm/include/asm/arch-omap4/gpio.h
new file mode 100644
index 0000000..fdeeadb
--- /dev/null
+++ b/arch/arm/include/asm/arch-omap4/gpio.h
@@ -0,0 +1 @@
+/* gpio.h */
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 62ec97d..f9bef58 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -31,6 +31,7 @@ COBJS-$(CONFIG_MARVELL_MFP)	+= mvmfp.o
 COBJS-$(CONFIG_MXC_GPIO)	+= mxc_gpio.o
 COBJS-$(CONFIG_PCA953X)		+= pca953x.o
 COBJS-$(CONFIG_S5P)		+= s5p_gpio.o
+COBJS-$(CONFIG_OMAP_GPIO)	+= omap_gpio.o
 COBJS-$(CONFIG_TEGRA2_GPIO)	+= tegra2_gpio.o
 COBJS-$(CONFIG_DA8XX_GPIO)	+= da8xx_gpio.o
 
diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c
new file mode 100644
index 0000000..4873065
--- /dev/null
+++ b/drivers/gpio/omap_gpio.c
@@ -0,0 +1,69 @@
+/*
+ * Adapter to OMAP GPIO handling.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#include <common.h>
+#include <asm/omap_gpio.h>
+
+/*
+ * Generic_GPIO primitives.
+ */
+
+int gpio_request(int gp, const char *label)
+{
+	return omap_request_gpio(gp);
+}
+
+void gpio_free(int gp)
+{
+}
+
+/* set GPIO pin 'gp' as an input */
+int gpio_direction_input(int gp)
+{
+	omap_set_gpio_direction(gp, 1);
+	return 0;
+}
+
+void gpio_toggle_value(int gp)
+{
+	omap_set_gpio_dataout(gp, !omap_get_gpio_datain(gp));
+}
+
+/* set GPIO pin 'gp' as an output, with polarity 'value' */
+int gpio_direction_output(int gp, int value)
+{
+	omap_set_gpio_dataout(gp, value);
+	omap_set_gpio_direction(gp, 0);
+	return 0;
+}
+
+/* read GPIO IN value of pin 'gp' */
+int gpio_get_value(int gp)
+{
+	return omap_get_gpio_datain(gp);
+}
+
+/* write GPIO OUT value to pin 'gp' */
+void gpio_set_value(int gp, int value)
+{
+	omap_set_gpio_dataout(gp, value);
+}
-- 
1.6.0.2

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

* [U-Boot] [PATCH 2/2] omap4_panda: Build in cmd_gpio support on panda
  2011-08-10  5:17 [U-Boot] [PATCH 1/2] omap3+: Add OMAP support for cmd_gpio Joe Hershberger
@ 2011-08-10  5:17 ` Joe Hershberger
  2011-08-16 22:17 ` [U-Boot] [PATCH v2 1/2] omap3+: Add OMAP support for cmd_gpio Joe Hershberger
  2011-08-16 22:17 ` [U-Boot] [PATCH v2 2/2] omap4_panda: Build in cmd_gpio support on panda Joe Hershberger
  2 siblings, 0 replies; 7+ messages in thread
From: Joe Hershberger @ 2011-08-10  5:17 UTC (permalink / raw)
  To: u-boot

Enable the command and the shim driver
Configure the pads to allow access to the button on GPIO_121 and the 2 LEDS on GPIO_7 and GPIO_8

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
---
 board/ti/panda/panda_mux_data.h |    6 +++---
 include/configs/omap4_panda.h   |    4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/board/ti/panda/panda_mux_data.h b/board/ti/panda/panda_mux_data.h
index 16cc0ad..4c9b57e 100644
--- a/board/ti/panda/panda_mux_data.h
+++ b/board/ti/panda/panda_mux_data.h
@@ -115,7 +115,7 @@ const struct pad_conf_entry core_padconf_array_non_essential[] = {
 	{ABE_CLKS, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* abe_clks */
 	{ABE_DMIC_CLK1, (M0)},						/* abe_dmic_clk1 */
 	{ABE_DMIC_DIN1, (IEN | M0)},					/* abe_dmic_din1 */
-	{ABE_DMIC_DIN2, (IEN | M0)},					/* abe_dmic_din2 */
+	{ABE_DMIC_DIN2, (PTU | IEN | M3)},				/* gpio_121 */
 	{ABE_DMIC_DIN3, (IEN | M0)},					/* abe_dmic_din3 */
 	{UART2_CTS, (PTU | IEN | M0)},					/* uart2_cts */
 	{UART2_RTS, (M0)},						/* uart2_rts */
@@ -223,8 +223,8 @@ const struct pad_conf_entry wkup_padconf_array_non_essential[] = {
 	{PAD0_SYS_BOOT6, (IEN | M3)},		/* gpio_wk9 */
 	{PAD1_SYS_BOOT7, (IEN | M3)},		/* gpio_wk10 */
 	{PAD1_FREF_CLK3_REQ, (M3)},		/* gpio_wk30 */
-	{PAD1_FREF_CLK4_REQ, (M3)},		/* gpio_wk7 */
-	{PAD0_FREF_CLK4_OUT, (M3)},		/* gpio_wk8 */
+	{PAD1_FREF_CLK4_REQ, (IEN | M3)},	/* gpio_wk7 */
+	{PAD0_FREF_CLK4_OUT, (IEN | M3)},	/* gpio_wk8 */
 };
 
 #endif /* _SDP4430_MUX_DATA_H */
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index e313231..f890fc6 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -120,6 +120,10 @@
 /* Flash */
 #define CONFIG_SYS_NO_FLASH	1
 
+/* GPIO */
+#define CONFIG_OMAP_GPIO 1
+#define CONFIG_CMD_GPIO 1
+
 /* commands to include */
 #include <config_cmd_default.h>
 
-- 
1.6.0.2

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

* [U-Boot] [PATCH v2 1/2] omap3+: Add OMAP support for cmd_gpio
  2011-08-10  5:17 [U-Boot] [PATCH 1/2] omap3+: Add OMAP support for cmd_gpio Joe Hershberger
  2011-08-10  5:17 ` [U-Boot] [PATCH 2/2] omap4_panda: Build in cmd_gpio support on panda Joe Hershberger
@ 2011-08-16 22:17 ` Joe Hershberger
  2011-09-14 15:13   ` Joe Hershberger
  2011-08-16 22:17 ` [U-Boot] [PATCH v2 2/2] omap4_panda: Build in cmd_gpio support on panda Joe Hershberger
  2 siblings, 1 reply; 7+ messages in thread
From: Joe Hershberger @ 2011-08-16 22:17 UTC (permalink / raw)
  To: u-boot

Add a shim driver to drivers/gpio that maps the standard GPIO API to the OMAP GPIO API
Empty gpio.h is needed in the asm/arch dirs for omap3 and omap4 due to include in asm/gpio.h

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
---
Changes for v2:
 - Changed API to match common gpio API (http://patchwork.ozlabs.org/patch/109904/)

 arch/arm/include/asm/arch-omap3/gpio.h |    1 +
 arch/arm/include/asm/arch-omap4/gpio.h |    1 +
 drivers/gpio/Makefile                  |    1 +
 drivers/gpio/omap_gpio.c               |   64 ++++++++++++++++++++++++++++++++
 4 files changed, 67 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-omap3/gpio.h
 create mode 100644 arch/arm/include/asm/arch-omap4/gpio.h
 create mode 100644 drivers/gpio/omap_gpio.c

diff --git a/arch/arm/include/asm/arch-omap3/gpio.h b/arch/arm/include/asm/arch-omap3/gpio.h
new file mode 100644
index 0000000..fdeeadb
--- /dev/null
+++ b/arch/arm/include/asm/arch-omap3/gpio.h
@@ -0,0 +1 @@
+/* gpio.h */
diff --git a/arch/arm/include/asm/arch-omap4/gpio.h b/arch/arm/include/asm/arch-omap4/gpio.h
new file mode 100644
index 0000000..fdeeadb
--- /dev/null
+++ b/arch/arm/include/asm/arch-omap4/gpio.h
@@ -0,0 +1 @@
+/* gpio.h */
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 62ec97d..f9bef58 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -31,6 +31,7 @@ COBJS-$(CONFIG_MARVELL_MFP)	+= mvmfp.o
 COBJS-$(CONFIG_MXC_GPIO)	+= mxc_gpio.o
 COBJS-$(CONFIG_PCA953X)		+= pca953x.o
 COBJS-$(CONFIG_S5P)		+= s5p_gpio.o
+COBJS-$(CONFIG_OMAP_GPIO)	+= omap_gpio.o
 COBJS-$(CONFIG_TEGRA2_GPIO)	+= tegra2_gpio.o
 COBJS-$(CONFIG_DA8XX_GPIO)	+= da8xx_gpio.o
 
diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c
new file mode 100644
index 0000000..551e387
--- /dev/null
+++ b/drivers/gpio/omap_gpio.c
@@ -0,0 +1,64 @@
+/*
+ * Adapter to OMAP GPIO handling.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#include <common.h>
+#include <asm/omap_gpio.h>
+
+/*
+ * Generic_GPIO primitives.
+ */
+
+int gpio_request(unsigned gpio, const char *label)
+{
+	return omap_request_gpio(gpio);
+}
+
+void gpio_free(unsigned gpio)
+{
+}
+
+/* set GPIO pin 'gpio' as an input */
+int gpio_direction_input(unsigned gpio)
+{
+	omap_set_gpio_direction(gpio, 1);
+	return 0;
+}
+
+/* set GPIO pin 'gpio' as an output, with polarity 'value' */
+int gpio_direction_output(unsigned gpio, int value)
+{
+	omap_set_gpio_dataout(gpio, value);
+	omap_set_gpio_direction(gpio, 0);
+	return 0;
+}
+
+/* read GPIO IN value of pin 'gpio' */
+int gpio_get_value(unsigned gpio)
+{
+	return omap_get_gpio_datain(gpio);
+}
+
+/* write GPIO OUT value to pin 'gpio' */
+void gpio_set_value(unsigned gpio, int value)
+{
+	omap_set_gpio_dataout(gpio, value);
+}
-- 
1.6.0.2

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

* [U-Boot] [PATCH v2 2/2] omap4_panda: Build in cmd_gpio support on panda
  2011-08-10  5:17 [U-Boot] [PATCH 1/2] omap3+: Add OMAP support for cmd_gpio Joe Hershberger
  2011-08-10  5:17 ` [U-Boot] [PATCH 2/2] omap4_panda: Build in cmd_gpio support on panda Joe Hershberger
  2011-08-16 22:17 ` [U-Boot] [PATCH v2 1/2] omap3+: Add OMAP support for cmd_gpio Joe Hershberger
@ 2011-08-16 22:17 ` Joe Hershberger
  2 siblings, 0 replies; 7+ messages in thread
From: Joe Hershberger @ 2011-08-16 22:17 UTC (permalink / raw)
  To: u-boot

Enable the command and the shim driver
Configure the pads to allow access to the button on GPIO_121 and the 2 LEDS on GPIO_7 and GPIO_8

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
---
Changes for v2:

 board/ti/panda/panda_mux_data.h |    6 +++---
 include/configs/omap4_panda.h   |    4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/board/ti/panda/panda_mux_data.h b/board/ti/panda/panda_mux_data.h
index 16cc0ad..4c9b57e 100644
--- a/board/ti/panda/panda_mux_data.h
+++ b/board/ti/panda/panda_mux_data.h
@@ -115,7 +115,7 @@ const struct pad_conf_entry core_padconf_array_non_essential[] = {
 	{ABE_CLKS, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* abe_clks */
 	{ABE_DMIC_CLK1, (M0)},						/* abe_dmic_clk1 */
 	{ABE_DMIC_DIN1, (IEN | M0)},					/* abe_dmic_din1 */
-	{ABE_DMIC_DIN2, (IEN | M0)},					/* abe_dmic_din2 */
+	{ABE_DMIC_DIN2, (PTU | IEN | M3)},				/* gpio_121 */
 	{ABE_DMIC_DIN3, (IEN | M0)},					/* abe_dmic_din3 */
 	{UART2_CTS, (PTU | IEN | M0)},					/* uart2_cts */
 	{UART2_RTS, (M0)},						/* uart2_rts */
@@ -223,8 +223,8 @@ const struct pad_conf_entry wkup_padconf_array_non_essential[] = {
 	{PAD0_SYS_BOOT6, (IEN | M3)},		/* gpio_wk9 */
 	{PAD1_SYS_BOOT7, (IEN | M3)},		/* gpio_wk10 */
 	{PAD1_FREF_CLK3_REQ, (M3)},		/* gpio_wk30 */
-	{PAD1_FREF_CLK4_REQ, (M3)},		/* gpio_wk7 */
-	{PAD0_FREF_CLK4_OUT, (M3)},		/* gpio_wk8 */
+	{PAD1_FREF_CLK4_REQ, (IEN | M3)},	/* gpio_wk7 */
+	{PAD0_FREF_CLK4_OUT, (IEN | M3)},	/* gpio_wk8 */
 };
 
 #endif /* _SDP4430_MUX_DATA_H */
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index e313231..f890fc6 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -120,6 +120,10 @@
 /* Flash */
 #define CONFIG_SYS_NO_FLASH	1
 
+/* GPIO */
+#define CONFIG_OMAP_GPIO 1
+#define CONFIG_CMD_GPIO 1
+
 /* commands to include */
 #include <config_cmd_default.h>
 
-- 
1.6.0.2

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

* [U-Boot] [PATCH v2 1/2] omap3+: Add OMAP support for cmd_gpio
  2011-08-16 22:17 ` [U-Boot] [PATCH v2 1/2] omap3+: Add OMAP support for cmd_gpio Joe Hershberger
@ 2011-09-14 15:13   ` Joe Hershberger
  2011-09-14 19:52     ` Paulraj, Sandeep
  0 siblings, 1 reply; 7+ messages in thread
From: Joe Hershberger @ 2011-09-14 15:13 UTC (permalink / raw)
  To: u-boot

On Tue, Aug 16, 2011 at 5:17 PM, Joe Hershberger <joe.hershberger@ni.com> wrote:
> Add a shim driver to drivers/gpio that maps the standard GPIO API to the OMAP GPIO API
> Empty gpio.h is needed in the asm/arch dirs for omap3 and omap4 due to include in asm/gpio.h
>
> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
> Cc: Joe Hershberger <joe.hershberger@gmail.com>
> Cc: Sandeep Paulraj <s-paulraj@ti.com>
> ---
> Changes for v2:
> ?- Changed API to match common gpio API (http://patchwork.ozlabs.org/patch/109904/)
>
> ?arch/arm/include/asm/arch-omap3/gpio.h | ? ?1 +
> ?arch/arm/include/asm/arch-omap4/gpio.h | ? ?1 +
> ?drivers/gpio/Makefile ? ? ? ? ? ? ? ? ?| ? ?1 +
> ?drivers/gpio/omap_gpio.c ? ? ? ? ? ? ? | ? 64 ++++++++++++++++++++++++++++++++
> ?4 files changed, 67 insertions(+), 0 deletions(-)
> ?create mode 100644 arch/arm/include/asm/arch-omap3/gpio.h
> ?create mode 100644 arch/arm/include/asm/arch-omap4/gpio.h
> ?create mode 100644 drivers/gpio/omap_gpio.c

Any word on this patch?

Thanks,
-Joe

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

* [U-Boot] [PATCH v2 1/2] omap3+: Add OMAP support for cmd_gpio
  2011-09-14 15:13   ` Joe Hershberger
@ 2011-09-14 19:52     ` Paulraj, Sandeep
  2011-09-14 20:24       ` Joe Hershberger
  0 siblings, 1 reply; 7+ messages in thread
From: Paulraj, Sandeep @ 2011-09-14 19:52 UTC (permalink / raw)
  To: u-boot



> On Tue, Aug 16, 2011 at 5:17 PM, Joe Hershberger <joe.hershberger@ni.com>
> wrote:
> > Add a shim driver to drivers/gpio that maps the standard GPIO API to the
> OMAP GPIO API
> > Empty gpio.h is needed in the asm/arch dirs for omap3 and omap4 due to
> include in asm/gpio.h
> >
> > Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
> > Cc: Joe Hershberger <joe.hershberger@gmail.com>
> > Cc: Sandeep Paulraj <s-paulraj@ti.com>
> > ---
> > Changes for v2:
> > ?- Changed API to match common gpio API
> (http://patchwork.ozlabs.org/patch/109904/)
> >
> > ?arch/arm/include/asm/arch-omap3/gpio.h | ? ?1 +
> > ?arch/arm/include/asm/arch-omap4/gpio.h | ? ?1 +
> > ?drivers/gpio/Makefile ? ? ? ? ? ? ? ? ?| ? ?1 +
> > ?drivers/gpio/omap_gpio.c ? ? ? ? ? ? ? | ? 64
> ++++++++++++++++++++++++++++++++
> > ?4 files changed, 67 insertions(+), 0 deletions(-)
> > ?create mode 100644 arch/arm/include/asm/arch-omap3/gpio.h
> > ?create mode 100644 arch/arm/include/asm/arch-omap4/gpio.h
> > ?create mode 100644 drivers/gpio/omap_gpio.c
> 
> Any word on this patch?


The OMAP GPIO driver was updated recently.

http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commit;h=81bdc155c72ef9e093b388b90c58d8134d870976

http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commit;h=3b690ebbbf21303a3bac1f62d967c36cd8655ce0

http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commit;h=84c3b6312997de6f98114263159c8b9824f3d33d

--Sandeep

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

* [U-Boot] [PATCH v2 1/2] omap3+: Add OMAP support for cmd_gpio
  2011-09-14 19:52     ` Paulraj, Sandeep
@ 2011-09-14 20:24       ` Joe Hershberger
  0 siblings, 0 replies; 7+ messages in thread
From: Joe Hershberger @ 2011-09-14 20:24 UTC (permalink / raw)
  To: u-boot

On Wed, Sep 14, 2011 at 2:52 PM, Paulraj, Sandeep <s-paulraj@ti.com> wrote:
>
>
>> On Tue, Aug 16, 2011 at 5:17 PM, Joe Hershberger <joe.hershberger@ni.com>
>> wrote:
>> > Add a shim driver to drivers/gpio that maps the standard GPIO API to the
>> OMAP GPIO API
>> > Empty gpio.h is needed in the asm/arch dirs for omap3 and omap4 due to
>> include in asm/gpio.h
>> >
>> > Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
>> > Cc: Joe Hershberger <joe.hershberger@gmail.com>
>> > Cc: Sandeep Paulraj <s-paulraj@ti.com>
>> > ---
>> > Changes for v2:
>> > ?- Changed API to match common gpio API
>> (http://patchwork.ozlabs.org/patch/109904/)
>> >
>> > ?arch/arm/include/asm/arch-omap3/gpio.h | ? ?1 +
>> > ?arch/arm/include/asm/arch-omap4/gpio.h | ? ?1 +
>> > ?drivers/gpio/Makefile ? ? ? ? ? ? ? ? ?| ? ?1 +
>> > ?drivers/gpio/omap_gpio.c ? ? ? ? ? ? ? | ? 64
>> ++++++++++++++++++++++++++++++++
>> > ?4 files changed, 67 insertions(+), 0 deletions(-)
>> > ?create mode 100644 arch/arm/include/asm/arch-omap3/gpio.h
>> > ?create mode 100644 arch/arm/include/asm/arch-omap4/gpio.h
>> > ?create mode 100644 drivers/gpio/omap_gpio.c
>>
>> Any word on this patch?
>
>
> The OMAP GPIO driver was updated recently.
>
> http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commit;h=81bdc155c72ef9e093b388b90c58d8134d870976
>
> http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commit;h=3b690ebbbf21303a3bac1f62d967c36cd8655ce0
>
> http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commit;h=84c3b6312997de6f98114263159c8b9824f3d33d
>
> --Sandeep
>

Sounds good... I'll port my Panda Board support to use the common API.

-Joe

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

end of thread, other threads:[~2011-09-14 20:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-10  5:17 [U-Boot] [PATCH 1/2] omap3+: Add OMAP support for cmd_gpio Joe Hershberger
2011-08-10  5:17 ` [U-Boot] [PATCH 2/2] omap4_panda: Build in cmd_gpio support on panda Joe Hershberger
2011-08-16 22:17 ` [U-Boot] [PATCH v2 1/2] omap3+: Add OMAP support for cmd_gpio Joe Hershberger
2011-09-14 15:13   ` Joe Hershberger
2011-09-14 19:52     ` Paulraj, Sandeep
2011-09-14 20:24       ` Joe Hershberger
2011-08-16 22:17 ` [U-Boot] [PATCH v2 2/2] omap4_panda: Build in cmd_gpio support on panda Joe Hershberger

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.