summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-11-16 18:12:35 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:02:34 +0200
commitb381776cd2d735e316c056d03e63802576eb47eb (patch)
tree058bec8df1c99676ce15d0cedc39eb3a96bde09d
parentdd3e5fba1b591a899ff19b280841fc826a3828da (diff)
u5500: pins: fix SPI
The chipselect should be controlled separately. For MISO/RX, there is a pull-up in the touchscreen, so don't oppose it. ST-Ericsson ID: 336595 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3cc0da682f6d3178a40407428e9a941fa4d77466 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38102 Reviewed-by: QATOOLS Reviewed-by: QABUILD
-rw-r--r--arch/arm/mach-ux500/board-u5500-pins.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/board-u5500-pins.c b/arch/arm/mach-ux500/board-u5500-pins.c
index abf3f78b1fd..1c66a1c8614 100644
--- a/arch/arm/mach-ux500/board-u5500-pins.c
+++ b/arch/arm/mach-ux500/board-u5500-pins.c
@@ -79,6 +79,8 @@ static pin_cfg_t u5500_pins_default[] = {
GPIO0_GPIO | PIN_INPUT_PULLUP,
GPIO214_GPIO | PIN_OUTPUT_LOW, /* SW_CRASH_INDICATOR */
+ /* Touchscreen chip select */
+ GPIO186_GPIO | PIN_OUTPUT_HIGH | PIN_LOWEMI_ENABLED,
};
static UX500_PINS(db5500_kp_pins,
@@ -158,8 +160,7 @@ static UX500_PINS(u5500_pins_i2c3,
);
static UX500_PINS(u5500_pins_spi3,
- GPIO186_GPIO | PIN_OUTPUT_HIGH | PIN_LOWEMI_ENABLED,
- GPIO188_SPI3_RXD | PIN_INPUT_PULLDOWN,
+ GPIO188_SPI3_RXD | PIN_INPUT_PULLUP,
GPIO189_SPI3_TXD | PIN_OUTPUT_LOW | PIN_LOWEMI_ENABLED,
GPIO190_SPI3_CLK | PIN_OUTPUT_LOW | PIN_LOWEMI_ENABLED,
);