Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28518824 authored by Srinivas Ramana's avatar Srinivas Ramana
Browse files

mpq8092: msm-uart: Fix gpio config for uart



1. remove direction setting for UART gpio which
are configured in FUNC_2.
2. Correct the GPIO numbers for the UART used in RUMI
& CDP

Change-Id: I8feacf1e7103989af62772a0c1477df6d1711462
Signed-off-by: default avatarSrinivas Ramana <sramana@codeaurora.org>
parent 179b553f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@ static struct gpiomux_setting gpio_uart_config = {
	.func = GPIOMUX_FUNC_2,
	.drv = GPIOMUX_DRV_16MA,
	.pull = GPIOMUX_PULL_NONE,
	.dir = GPIOMUX_OUT_HIGH,
};

static struct msm_gpiomux_config msm_blsp_configs[] __initdata = {
@@ -68,13 +67,13 @@ static struct msm_gpiomux_config msm_blsp_configs[] __initdata = {
		},
	},
	{
		.gpio      = 45,	       /* BLSP8 UART TX */
		.gpio      = 28,	       /* BLSP1 UART5 TX */
		.settings = {
			[GPIOMUX_SUSPENDED] = &gpio_uart_config,
		},
	},
	{
		.gpio      = 46,	       /* BLSP8 UART RX */
		.gpio      = 29,	       /* BLSP1 UART5 RX */
		.settings = {
			[GPIOMUX_SUSPENDED] = &gpio_uart_config,
		},