]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] OF helpers for the GPIO API
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 11 Apr 2008 13:06:45 +0000 (23:06 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 16 Apr 2008 21:46:11 +0000 (07:46 +1000)
commit863fbf4966a7ac301a4077e4a04d73e8abfdd7b2
treebbe7d6f08f9dbd706882c48024d41fc2578c3370
parenta2879fef7ccd1e0891a8f147c20ce6f1501e373b
[POWERPC] OF helpers for the GPIO API

This implements various helpers to support OF bindings for the GPIO
LIB API.

Previously this was PowerPC specific, but it seems this code isn't
arch-dependent anyhow, so let's place it into of/.

SPARC will not see this addition yet, real hardware seem to not use
GPIOs at all. But this might change:

   http://www.leox.org/docs/faq_MLleon.html

"16-bit I/O port" sounds promising. :-)

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/of/Kconfig
drivers/of/Makefile
drivers/of/gpio.c [new file with mode: 0644]
include/linux/of_gpio.h [new file with mode: 0644]