From: Peter Chan Date: Tue, 8 Jan 2013 08:04:41 +0000 (+0800) Subject: ENGR00232879 mx6sl: EPDC VDDH and VPOS power on/off sequence is wrong X-Git-Tag: v3.0.35-fsl~164 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5aad500b86c46a9e99ce350beaecebcb7799cab8;p=karo-tx-linux.git ENGR00232879 mx6sl: EPDC VDDH and VPOS power on/off sequence is wrong VDDH should only be ON after VPOS when power up and should be off before VPOS when power down. Set the appropriate MAX17135 timing parameters for the correct power up/down sequence Signed-off-by: Peter Chan --- diff --git a/arch/arm/mach-mx6/board-mx6sl_arm2.c b/arch/arm/mach-mx6/board-mx6sl_arm2.c index d72fc63ebdc4..66868c614e82 100755 --- a/arch/arm/mach-mx6/board-mx6sl_arm2.c +++ b/arch/arm/mach-mx6/board-mx6sl_arm2.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright (C) 2012-2013 Freescale Semiconductor, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -315,13 +315,13 @@ static struct platform_device max17135_sensor_device = { static struct max17135_platform_data max17135_pdata __initdata = { .vneg_pwrup = 1, - .gvee_pwrup = 1, - .vpos_pwrup = 2, - .gvdd_pwrup = 1, + .gvee_pwrup = 2, + .vpos_pwrup = 10, + .gvdd_pwrup = 12, .gvdd_pwrdn = 1, .vpos_pwrdn = 2, - .gvee_pwrdn = 1, - .vneg_pwrdn = 1, + .gvee_pwrdn = 8, + .vneg_pwrdn = 10, .gpio_pmic_pwrgood = MX6SL_BRD_EPDC_PWRSTAT, .gpio_pmic_vcom_ctrl = MX6SL_BRD_EPDC_VCOM, .gpio_pmic_wakeup = MX6SL_BRD_EPDC_PMIC_WAKE, diff --git a/arch/arm/mach-mx6/board-mx6sl_evk.c b/arch/arm/mach-mx6/board-mx6sl_evk.c index 1b09e4499264..729054c9f015 100644 --- a/arch/arm/mach-mx6/board-mx6sl_evk.c +++ b/arch/arm/mach-mx6/board-mx6sl_evk.c @@ -378,13 +378,13 @@ static struct platform_device max17135_sensor_device = { static struct max17135_platform_data max17135_pdata __initdata = { .vneg_pwrup = 1, - .gvee_pwrup = 1, - .vpos_pwrup = 2, - .gvdd_pwrup = 1, + .gvee_pwrup = 2, + .vpos_pwrup = 10, + .gvdd_pwrup = 12, .gvdd_pwrdn = 1, .vpos_pwrdn = 2, - .gvee_pwrdn = 1, - .vneg_pwrdn = 1, + .gvee_pwrdn = 8, + .vneg_pwrdn = 10, .gpio_pmic_pwrgood = MX6SL_BRD_EPDC_PWRSTAT, .gpio_pmic_vcom_ctrl = MX6SL_BRD_EPDC_VCOM, .gpio_pmic_wakeup = MX6SL_BRD_EPDC_PMIC_WAKE,