Loading arch/arm/mach-msm/board-krypton-gpiomux.c +19 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,23 @@ static struct msm_gpiomux_config msm_sd_card_configs[] __initdata = { }, }; static struct gpiomux_setting wlan_en_cfg = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_16MA, .pull = GPIOMUX_PULL_UP, .dir = GPIOMUX_OUT_HIGH, }; static struct msm_gpiomux_config msm_wlan_configs[] __initdata = { { .gpio = 70, /* WLAN ENABLE */ .settings = { [GPIOMUX_ACTIVE] = &wlan_en_cfg, [GPIOMUX_SUSPENDED] = &wlan_en_cfg, }, }, }; void __init msmkrypton_init_gpiomux(void) { int rc; Loading @@ -162,4 +179,6 @@ void __init msmkrypton_init_gpiomux(void) #if defined(CONFIG_KS8851) || defined(CONFIG_KS8851_MODULE) msm_gpiomux_install(msm_eth_config, ARRAY_SIZE(msm_eth_config)); #endif msm_gpiomux_install(msm_wlan_configs, ARRAY_SIZE(msm_wlan_configs)); } Loading
arch/arm/mach-msm/board-krypton-gpiomux.c +19 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,23 @@ static struct msm_gpiomux_config msm_sd_card_configs[] __initdata = { }, }; static struct gpiomux_setting wlan_en_cfg = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_16MA, .pull = GPIOMUX_PULL_UP, .dir = GPIOMUX_OUT_HIGH, }; static struct msm_gpiomux_config msm_wlan_configs[] __initdata = { { .gpio = 70, /* WLAN ENABLE */ .settings = { [GPIOMUX_ACTIVE] = &wlan_en_cfg, [GPIOMUX_SUSPENDED] = &wlan_en_cfg, }, }, }; void __init msmkrypton_init_gpiomux(void) { int rc; Loading @@ -162,4 +179,6 @@ void __init msmkrypton_init_gpiomux(void) #if defined(CONFIG_KS8851) || defined(CONFIG_KS8851_MODULE) msm_gpiomux_install(msm_eth_config, ARRAY_SIZE(msm_eth_config)); #endif msm_gpiomux_install(msm_wlan_configs, ARRAY_SIZE(msm_wlan_configs)); }