Patchwork [4/5] ENGR00121385 MX51: Leave MC13892 VUSB Turned on for USB OTG to work

login
register
mail settings
Submitter Bryan Wu
Date April 23, 2010, 2:29 a.m.
Message ID <1271989793-3770-5-git-send-email-bryan.wu@canonical.com>
Download mbox | patch
Permalink /patch/50781/
State Accepted
Delegated to: Stefan Bader
Headers show

Comments

Bryan Wu - April 23, 2010, 2:29 a.m.
From: Dinh Nguyen <r00091@freescale.com>

Short-term solution is to leave VUSB always on for USB OTG port
to work. Long-term solution would be for USB driver to enable the
necessary regulators. That will be addressed by a different CR.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
---
 arch/arm/mach-mx51/mx51_3stack_pmic_mc13892.c  |    3 ++-
 arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c |    5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

Patch

diff --git a/arch/arm/mach-mx51/mx51_3stack_pmic_mc13892.c b/arch/arm/mach-mx51/mx51_3stack_pmic_mc13892.c
index 3dcaf37..7b4cd31 100644
--- a/arch/arm/mach-mx51/mx51_3stack_pmic_mc13892.c
+++ b/arch/arm/mach-mx51/mx51_3stack_pmic_mc13892.c
@@ -2,7 +2,7 @@ 
  * mx51-3stack-pmic-mc13892.c  --  i.MX51 3STACK Driver for Atlas MC13892 PMIC
  */
  /*
-  * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
+  * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
   */
 
  /*
@@ -137,6 +137,7 @@  static struct regulator_init_data vusb_init = {
 	.constraints = {
 		.name = "VUSB",
 		.boot_on = 1,
+		.always_on = 1,
 	}
 };
 
diff --git a/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c b/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
index dbbdc64..72d8baf 100644
--- a/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
+++ b/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
@@ -1,8 +1,8 @@ 
 /*
- * mx51-3stack-pmic-mc13892.c  --  i.MX51 3STACK Driver for Atlas MC13892 PMIC
+ * mx51-babbage-pmic-mc13892.c  --  i.MX51 Babbage Driver for Atlas MC13892 PMIC
  */
  /*
-  * Copyright 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
+  * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
   */
 
  /*
@@ -182,6 +182,7 @@  static struct regulator_init_data vusb_init = {
 	.constraints = {
 		.name = "VUSB",
 		.boot_on = 1,
+		.always_on = 1,
 	}
 };