Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212599
b: refs/heads/master
c: dd22b8f
h: refs/heads/master
i:
  212597: 5852ae7
  212595: 0720201
  212591: 774e19f
v: v3
  • Loading branch information
Gregory Bean authored and Daniel Walker committed Oct 6, 2010
1 parent 07ff81d commit ad9827e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 70816e2ca526cfe21ce884ecae057a9c1725ad27
refs/heads/master: dd22b8f703d7a9aa5e40a7741b7e84fb0bb025d6
12 changes: 0 additions & 12 deletions trunk/arch/arm/mach-msm/board-qsd8x50.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,10 @@

extern struct sys_timer msm_timer;

static struct msm_gpio uart3_config_data[] = {
{ GPIO_CFG(86, 1, GPIO_INPUT, GPIO_PULL_DOWN, GPIO_2MA), "UART2_Rx"},
{ GPIO_CFG(87, 1, GPIO_OUTPUT, GPIO_PULL_DOWN, GPIO_2MA), "UART2_Tx"},
};

static struct platform_device *devices[] __initdata = {
&msm_device_uart3,
};

static void msm8x50_init_uart3(void)
{
msm_gpios_request_enable(uart3_config_data,
ARRAY_SIZE(uart3_config_data));
}

static void __init qsd8x50_map_io(void)
{
msm_map_qsd8x50_io();
Expand All @@ -64,7 +53,6 @@ static void __init qsd8x50_init_irq(void)

static void __init qsd8x50_init(void)
{
msm8x50_init_uart3();
platform_add_devices(devices, ARRAY_SIZE(devices));
}

Expand Down
11 changes: 10 additions & 1 deletion trunk/arch/arm/mach-msm/gpiomux-8x50.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,13 @@
*/
#include "gpiomux.h"

struct msm_gpiomux_config msm_gpiomux_configs[GPIOMUX_NGPIOS] = {};
struct msm_gpiomux_config msm_gpiomux_configs[GPIOMUX_NGPIOS] = {
[86] = { /* UART3 RX */
.suspended = GPIOMUX_DRV_2MA | GPIOMUX_PULL_DOWN |
GPIOMUX_FUNC_1 | GPIOMUX_VALID,
},
[87] = { /* UART3 TX */
.suspended = GPIOMUX_DRV_2MA | GPIOMUX_PULL_DOWN |
GPIOMUX_FUNC_1 | GPIOMUX_VALID,
},
};

0 comments on commit ad9827e

Please sign in to comment.