]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: mach-shmobile: sh73a0 GPIO pullup improvement
authorTakashi YOSHII <takashi.yoshii.zj@renesas.com>
Wed, 22 Dec 2010 06:26:06 +0000 (06:26 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 22 Dec 2010 07:35:50 +0000 (16:35 +0900)
commita0794fd019820d3d5e9d73ffd61b5bbcac818f18
tree688f3371ffd8314ac530a7ff09774194bde330e7
parent019c4ae313ccf5d253be32197e002c626d8bd678
ARM: mach-shmobile: sh73a0 GPIO pullup improvement

On SH-Mobile, Pull UP/Downs can be controlled independently
from Function selectors (by lower nibble of PFCR).
It means people may want to use GPIO_FN_xxx_PU/PD in addition
to GPIO_IN_PU/PD which is currently supported.
This patch adds pull-up version for some input signals on
KEYSC, MMC, FSIA as well as SDHI1.

Signed-off-by: Takashi YOSHII <takashi.yoshii.zj@renesas.com>
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/include/mach/sh73a0.h
arch/arm/mach-shmobile/pfc-sh73a0.c