]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00232879 mx6sl: EPDC VDDH and VPOS power on/off sequence is wrong
authorPeter Chan <B18700@freescale.com>
Tue, 8 Jan 2013 08:04:41 +0000 (16:04 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:50 +0000 (08:35 +0200)
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 <B18700@freescale.com>
arch/arm/mach-mx6/board-mx6sl_arm2.c
arch/arm/mach-mx6/board-mx6sl_evk.c

index d72fc63ebdc4cb2be6beca132d6a6bb6eb3ef38a..66868c614e8254a5e86e2a0cc95e0c769b519d67 100755 (executable)
@@ -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,
index 1b09e4499264d20b508ab4b8b91bb850ec640ad8..729054c9f01595d01b5df5f147790ee76f598228 100644 (file)
@@ -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,