linux-mips
[Top] [All Lists]

[PATCH UPDATE] Add MIPS generic GPIO support

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH UPDATE] Add MIPS generic GPIO support
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Tue, 22 May 2007 00:05:58 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, florian.fainelli@telecomint.eu, linux-mips@linux-mips.org, Atsushi Nemoto <anemo@mba.ocn.ne.jp>
In-reply-to: <20070521.231200.74752428.anemo@mba.ocn.ne.jp>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070521.001238.41198930.anemo@mba.ocn.ne.jp> <20070521161303.0d9db8e4.yoichi_yuasa@tripeaks.co.jp> <200705210729.l4L7TZB3079730@mbox31.po.2iij.net> <20070521.231200.74752428.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 21 May 2007 23:12:00 +0900 (JST)
Atsushi Nemoto <anemo@mba.ocn.ne.jp> wrote:

> On Mon, 21 May 2007 16:29:35 +0900, Yoichi Yuasa 
> <yoichi_yuasa@tripeaks.co.jp> wrote:
> > This patch has added support for the generic GPIO API header file to MIPS.
> 
> With the change, adding these lines to Kconfig would be better.
> 
> config GENERIC_GPIO
>         bool

Atsushi, thank you for your comment.

This patch has added support for the generic GPIO API to MIPS.

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/Kconfig 
mips/arch/mips/Kconfig
--- mips-orig/arch/mips/Kconfig 2007-05-21 16:08:48.846031250 +0900
+++ mips/arch/mips/Kconfig      2007-05-21 23:56:57.784356000 +0900
@@ -778,6 +778,9 @@ config GENERIC_ISA_DMA_SUPPORT_BROKEN
        bool
        select ZONE_DMA
 
+config GENERIC_GPIO
+       bool
+
 #
 # Endianess selection.  Sufficiently obscure so many users don't know what to
 # answer,so we try hard to limit the available choices.  Also the use of a
diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/gpio.h 
mips/include/asm-mips/gpio.h
--- mips-orig/include/asm-mips/gpio.h   1970-01-01 09:00:00.000000000 +0900
+++ mips/include/asm-mips/gpio.h        2007-05-21 17:07:51.769161250 +0900
@@ -0,0 +1,6 @@
+#ifndef __ASM_MIPS_GPIO_H
+#define __ASM_MIPS_GPIO_H
+
+#include <gpio.h>
+
+#endif /* __ASM_MIPS_GPIO_H */

<Prev in Thread] Current Thread [Next in Thread>