]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Davinci: tnetv107x initial gpio support
authorCyril Chemparathy <cyril@ti.com>
Tue, 18 May 2010 16:51:20 +0000 (12:51 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Mon, 21 Jun 2010 19:48:31 +0000 (12:48 -0700)
commitd92c7962470b699ef7a697524b9a679846e9e15b
treebb0045e061b4905a965b799d6a9139f1e2b1bd39
parent4d1e78480cc5b5937c9384e47a0b2b0cdf117da4
Davinci: tnetv107x initial gpio support

This patch adds support for the tnetv107x gpio controller.

Key differences between davinci and tnetv107x controllers:
 - register map - davinci's controller is organized into banks of 32 gpios,
   tnetv107x has a single space with arrays of registers for in, out,
   direction, etc.
 - davinci's controller has separate set/clear registers for output, tnetv107x
   has a single direct mapped register.

This patch does not yet add gpio irq support on this controller.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/Makefile
arch/arm/mach-davinci/gpio-tnetv107x.c [new file with mode: 0644]
arch/arm/mach-davinci/include/mach/gpio.h