From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] ARM: mach-shmobile: Use pullups for AG5EVM KEYSC pins
Date: Wed, 22 Dec 2010 06:30:19 +0000 [thread overview]
Message-ID: <20101222063019.28467.5098.sendpatchset@t400s> (raw)
From: Takashi YOSHII <takashi.yoshii.zj@renesas.com>
Follow up to pfc-sh73a0.c's pull-up support.
Change GPIO_FN_KEYINx to GPIO_FN_KEYINx_PU.
Signed-off-by: Takashi YOSHII <takashi.yoshii.zj@renesas.com>
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-ag5evm.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
--- 0004/arch/arm/mach-shmobile/board-ag5evm.c
+++ work/arch/arm/mach-shmobile/board-ag5evm.c 2010-12-22 15:27:07.000000000 +0900
@@ -197,14 +197,14 @@ static void __init ag5evm_init(void)
gpio_request(GPIO_FN_SCIFA2_CTS1_, NULL);
/* enable KEYSC */
- gpio_request(GPIO_FN_KEYIN0, NULL);
- gpio_request(GPIO_FN_KEYIN1, NULL);
- gpio_request(GPIO_FN_KEYIN2, NULL);
- gpio_request(GPIO_FN_KEYIN3, NULL);
- gpio_request(GPIO_FN_KEYIN4, NULL);
- gpio_request(GPIO_FN_KEYIN5, NULL);
- gpio_request(GPIO_FN_KEYIN6, NULL);
- gpio_request(GPIO_FN_KEYIN7, NULL);
+ gpio_request(GPIO_FN_KEYIN0_PU, NULL);
+ gpio_request(GPIO_FN_KEYIN1_PU, NULL);
+ gpio_request(GPIO_FN_KEYIN2_PU, NULL);
+ gpio_request(GPIO_FN_KEYIN3_PU, NULL);
+ gpio_request(GPIO_FN_KEYIN4_PU, NULL);
+ gpio_request(GPIO_FN_KEYIN5_PU, NULL);
+ gpio_request(GPIO_FN_KEYIN6_PU, NULL);
+ gpio_request(GPIO_FN_KEYIN7_PU, NULL);
gpio_request(GPIO_FN_KEYOUT0, NULL);
gpio_request(GPIO_FN_KEYOUT1, NULL);
gpio_request(GPIO_FN_KEYOUT2, NULL);
reply other threads:[~2010-12-22 6:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101222063019.28467.5098.sendpatchset@t400s \
--to=magnus.damm@gmail.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox