Loading arch/arm/mach-msm/board-8084-gpiomux.c +26 −6 Original line number Diff line number Diff line Loading @@ -609,12 +609,30 @@ static struct gpiomux_setting sd_card_det_sleep_config = { .dir = GPIOMUX_IN, }; static struct msm_gpiomux_config sd_card_det __initdata = { static struct msm_gpiomux_config sd_card_det[] __initdata = { { .gpio = 122, .settings = { [GPIOMUX_ACTIVE] = &sd_card_det_active_config, [GPIOMUX_SUSPENDED] = &sd_card_det_sleep_config, }, }, }; static struct gpiomux_setting eth_pwr_sleep_config = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_2MA, .pull = GPIOMUX_PULL_UP, .dir = GPIOMUX_IN, }; static struct msm_gpiomux_config eth_pwr[] = { { .gpio = 39, .settings = { [GPIOMUX_SUSPENDED] = ð_pwr_sleep_config, }, }, }; void __init apq8084_init_gpiomux(void) Loading Loading @@ -649,7 +667,9 @@ void __init apq8084_init_gpiomux(void) msm_gpiomux_install(msm_hdmi_configs, ARRAY_SIZE(msm_hdmi_configs)); msm_gpiomux_install(msm_wlan_configs, ARRAY_SIZE(msm_wlan_configs)); msm_gpiomux_install(&sd_card_det, 1); msm_gpiomux_install(hap_lvl_shft_config, ARRAY_SIZE(hap_lvl_shft_config)); msm_gpiomux_install(sd_card_det, ARRAY_SIZE(sd_card_det)); if (of_board_is_cdp()) msm_gpiomux_install(eth_pwr, ARRAY_SIZE(eth_pwr)); } Loading
arch/arm/mach-msm/board-8084-gpiomux.c +26 −6 Original line number Diff line number Diff line Loading @@ -609,12 +609,30 @@ static struct gpiomux_setting sd_card_det_sleep_config = { .dir = GPIOMUX_IN, }; static struct msm_gpiomux_config sd_card_det __initdata = { static struct msm_gpiomux_config sd_card_det[] __initdata = { { .gpio = 122, .settings = { [GPIOMUX_ACTIVE] = &sd_card_det_active_config, [GPIOMUX_SUSPENDED] = &sd_card_det_sleep_config, }, }, }; static struct gpiomux_setting eth_pwr_sleep_config = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_2MA, .pull = GPIOMUX_PULL_UP, .dir = GPIOMUX_IN, }; static struct msm_gpiomux_config eth_pwr[] = { { .gpio = 39, .settings = { [GPIOMUX_SUSPENDED] = ð_pwr_sleep_config, }, }, }; void __init apq8084_init_gpiomux(void) Loading Loading @@ -649,7 +667,9 @@ void __init apq8084_init_gpiomux(void) msm_gpiomux_install(msm_hdmi_configs, ARRAY_SIZE(msm_hdmi_configs)); msm_gpiomux_install(msm_wlan_configs, ARRAY_SIZE(msm_wlan_configs)); msm_gpiomux_install(&sd_card_det, 1); msm_gpiomux_install(hap_lvl_shft_config, ARRAY_SIZE(hap_lvl_shft_config)); msm_gpiomux_install(sd_card_det, ARRAY_SIZE(sd_card_det)); if (of_board_is_cdp()) msm_gpiomux_install(eth_pwr, ARRAY_SIZE(eth_pwr)); }