diff options
author | Takashi YOSHII <takashi.yoshii.zj@renesas.com> | 2010-12-22 01:26:06 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-12-22 02:35:50 -0500 |
commit | a0794fd019820d3d5e9d73ffd61b5bbcac818f18 (patch) | |
tree | 688f3371ffd8314ac530a7ff09774194bde330e7 /arch/arm/mach-shmobile/include/mach | |
parent | 019c4ae313ccf5d253be32197e002c626d8bd678 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh73a0.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h index 8a659396440..ceb2cdc92bf 100644 --- a/arch/arm/mach-shmobile/include/mach/sh73a0.h +++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h | |||
@@ -441,6 +441,27 @@ enum { | |||
441 | GPIO_FN_RESETA_N_PU_OFF, | 441 | GPIO_FN_RESETA_N_PU_OFF, |
442 | GPIO_FN_EDBGREQ_PD, | 442 | GPIO_FN_EDBGREQ_PD, |
443 | GPIO_FN_EDBGREQ_PU, | 443 | GPIO_FN_EDBGREQ_PU, |
444 | |||
445 | /* Functions with pull-ups */ | ||
446 | GPIO_FN_KEYIN0_PU, | ||
447 | GPIO_FN_KEYIN1_PU, | ||
448 | GPIO_FN_KEYIN2_PU, | ||
449 | GPIO_FN_KEYIN3_PU, | ||
450 | GPIO_FN_KEYIN4_PU, | ||
451 | GPIO_FN_KEYIN5_PU, | ||
452 | GPIO_FN_KEYIN6_PU, | ||
453 | GPIO_FN_KEYIN7_PU, | ||
454 | GPIO_FN_SDHID1_0_PU, | ||
455 | GPIO_FN_SDHID1_1_PU, | ||
456 | GPIO_FN_SDHID1_2_PU, | ||
457 | GPIO_FN_SDHID1_3_PU, | ||
458 | GPIO_FN_SDHICMD1_PU, | ||
459 | GPIO_FN_MMCCMD0_PU, | ||
460 | GPIO_FN_MMCCMD1_PU, | ||
461 | GPIO_FN_FSIACK_PU, | ||
462 | GPIO_FN_FSIAILR_PU, | ||
463 | GPIO_FN_FSIAIBT_PU, | ||
464 | GPIO_FN_FSIAISLD_PU, | ||
444 | }; | 465 | }; |
445 | 466 | ||
446 | #endif /* __ASM_SH73A0_H__ */ | 467 | #endif /* __ASM_SH73A0_H__ */ |