diff options
author | Gregory Bean <gbean@codeaurora.org> | 2010-08-28 10:05:46 -0700 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-10-06 09:01:16 -0700 |
commit | dd22b8f703d7a9aa5e40a7741b7e84fb0bb025d6 (patch) | |
tree | 26bb0c8a420ad7ea32e6c62f0fab560bccb21901 /arch/arm/mach-msm/gpiomux-8x50.c | |
parent | 70816e2ca526cfe21ce884ecae057a9c1725ad27 (diff) | |
download | blackbird-op-linux-dd22b8f703d7a9aa5e40a7741b7e84fb0bb025d6.tar.gz blackbird-op-linux-dd22b8f703d7a9aa5e40a7741b7e84fb0bb025d6.zip |
msm: convert 8x50 to gpiomux.
Change the gpio-init code from deprecated gpio_tlmm_config
to the new gpiomux api.
Signed-off-by: Gregory Bean <gbean@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/gpiomux-8x50.c')
-rw-r--r-- | arch/arm/mach-msm/gpiomux-8x50.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/gpiomux-8x50.c b/arch/arm/mach-msm/gpiomux-8x50.c index 7b380b31bd0e..4406e0f4ae95 100644 --- a/arch/arm/mach-msm/gpiomux-8x50.c +++ b/arch/arm/mach-msm/gpiomux-8x50.c @@ -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, + }, +}; |