From: eric@eukrea.com (Eric Bénard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/6] cpuimx51sd: fix tsc2007
Date: Fri, 25 Feb 2011 14:38:28 +0100 [thread overview]
Message-ID: <1298641111-12957-3-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1298641111-12957-1-git-send-email-eric@eukrea.com>
- wrong MUX was set before for IRQ
- get_pendown_state is no more needed
Signed-off-by: Eric B?nard <eric@eukrea.com>
---
arch/arm/mach-mx5/board-cpuimx51sd.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/arch/arm/mach-mx5/board-cpuimx51sd.c b/arch/arm/mach-mx5/board-cpuimx51sd.c
index 68ecfc0..5b19419 100644
--- a/arch/arm/mach-mx5/board-cpuimx51sd.c
+++ b/arch/arm/mach-mx5/board-cpuimx51sd.c
@@ -110,7 +110,7 @@ static iomux_v3_cfg_t eukrea_cpuimx51sd_pads[] = {
/* Touchscreen */
/* IRQ */
- _MX51_PAD_CSI1_D8__GPIO3_12 | MUX_PAD_CTRL(PAD_CTL_PUS_22K_UP |
+ MX51_PAD_GPIO_NAND__GPIO_NAND | MUX_PAD_CTRL(PAD_CTL_PUS_22K_UP |
PAD_CTL_PKE | PAD_CTL_SRE_FAST |
PAD_CTL_DSE_HIGH | PAD_CTL_PUE | PAD_CTL_HYS),
};
@@ -119,15 +119,9 @@ static const struct imxuart_platform_data uart_pdata __initconst = {
.flags = IMXUART_HAVE_RTSCTS,
};
-static int ts_get_pendown_state(void)
-{
- return gpio_get_value(TSC2007_IRQGPIO) ? 0 : 1;
-}
-
static struct tsc2007_platform_data tsc2007_info = {
.model = 2007,
.x_plate_ohms = 180,
- .get_pendown_state = ts_get_pendown_state,
};
static struct i2c_board_info eukrea_cpuimx51sd_i2c_devices[] = {
--
1.7.4
next prev parent reply other threads:[~2011-02-25 13:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 13:38 [PATCH 1/6] eukrea_mbimxsd: add audio support Eric Bénard
2011-02-25 13:38 ` [PATCH 2/6] cpuimx51sd: add cpufreq support Eric Bénard
2011-02-25 13:38 ` Eric Bénard [this message]
2011-02-25 14:04 ` [PATCH v2 3/6] cpuimx51sd: fix tsc2007 Eric Bénard
2011-02-25 13:38 ` [PATCH 4/6] cpuimx51sd: mcp2515 supports up to 10MHz SPI clock Eric Bénard
2011-02-25 13:38 ` [PATCH 5/6] eukrea_mbimxsd51: add IPU support Eric Bénard
2011-02-25 14:04 ` [PATCH v2 " Eric Bénard
2011-02-25 13:38 ` [PATCH 6/6] eukrea_mbimxsd51: add SD Card detect Eric Bénard
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=1298641111-12957-3-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).