]> git.karo-electronics.de Git - linux-beck.git/commit
sh: improve pinmux support for single direction pins
authorMagnus Damm <damm@igel.co.jp>
Wed, 22 Oct 2008 09:29:17 +0000 (18:29 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 22 Oct 2008 09:34:16 +0000 (18:34 +0900)
commit42eed42bac41c8106ed52b6b84409d84c0981e36
tree2ba3f575af09ef9dcea7bb38e2ce7e39524562da
parent22ee3ba611e0aa73228ae64fa68d89c52367702a
sh: improve pinmux support for single direction pins

This patch improves the support for gpio pins that are hard wired
to either input or output and lack control register association.
A special force enum id is used to allow use without control
register but still mark the gpio pin as input or output.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/gpio.h
arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c
arch/sh/kernel/gpio.c