Loading arch/arm/mach-msm/board-8084-gpiomux.c +38 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,43 @@ static struct msm_gpiomux_config apq8084_hsic_configs[] = { }, }; static struct gpiomux_setting lcd_en_act_cfg = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_8MA, .pull = GPIOMUX_PULL_NONE, .dir = GPIOMUX_OUT_HIGH, }; static struct gpiomux_setting lcd_en_sus_cfg = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_2MA, .pull = GPIOMUX_PULL_DOWN, }; static struct msm_gpiomux_config msm_lcd_configs[] __initdata = { { .gpio = 96, /* LCD RESET */ .settings = { [GPIOMUX_ACTIVE] = &lcd_en_act_cfg, [GPIOMUX_SUSPENDED] = &lcd_en_sus_cfg, }, }, { .gpio = 86, /* BKLT ENABLE */ .settings = { [GPIOMUX_ACTIVE] = &lcd_en_act_cfg, [GPIOMUX_SUSPENDED] = &lcd_en_sus_cfg, }, }, { .gpio = 137, /* DISPLAY ENABLE */ .settings = { [GPIOMUX_ACTIVE] = &lcd_en_act_cfg, [GPIOMUX_SUSPENDED] = &lcd_en_sus_cfg, }, }, }; void __init apq8084_init_gpiomux(void) { int rc; Loading @@ -81,4 +118,5 @@ void __init apq8084_init_gpiomux(void) msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); msm_gpiomux_install(apq8084_hsic_configs, ARRAY_SIZE(apq8084_hsic_configs)); msm_gpiomux_install(msm_lcd_configs, ARRAY_SIZE(msm_lcd_configs)); } Loading
arch/arm/mach-msm/board-8084-gpiomux.c +38 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,43 @@ static struct msm_gpiomux_config apq8084_hsic_configs[] = { }, }; static struct gpiomux_setting lcd_en_act_cfg = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_8MA, .pull = GPIOMUX_PULL_NONE, .dir = GPIOMUX_OUT_HIGH, }; static struct gpiomux_setting lcd_en_sus_cfg = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_2MA, .pull = GPIOMUX_PULL_DOWN, }; static struct msm_gpiomux_config msm_lcd_configs[] __initdata = { { .gpio = 96, /* LCD RESET */ .settings = { [GPIOMUX_ACTIVE] = &lcd_en_act_cfg, [GPIOMUX_SUSPENDED] = &lcd_en_sus_cfg, }, }, { .gpio = 86, /* BKLT ENABLE */ .settings = { [GPIOMUX_ACTIVE] = &lcd_en_act_cfg, [GPIOMUX_SUSPENDED] = &lcd_en_sus_cfg, }, }, { .gpio = 137, /* DISPLAY ENABLE */ .settings = { [GPIOMUX_ACTIVE] = &lcd_en_act_cfg, [GPIOMUX_SUSPENDED] = &lcd_en_sus_cfg, }, }, }; void __init apq8084_init_gpiomux(void) { int rc; Loading @@ -81,4 +118,5 @@ void __init apq8084_init_gpiomux(void) msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); msm_gpiomux_install(apq8084_hsic_configs, ARRAY_SIZE(apq8084_hsic_configs)); msm_gpiomux_install(msm_lcd_configs, ARRAY_SIZE(msm_lcd_configs)); }