summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-06-13 01:42:37 -0300
committerYe.Li <B37916@freescale.com>2014-07-15 18:54:03 +0800
commit100ed884e0cc2cd7c90d210bab12ff53a55a0e3c (patch)
tree6aa468118200904e3fcfc4130de10c245dc0f48c
parent06735bf6724f2dad2dcbbfc188c6a17145c7126b (diff)
downloadu-boot-imx-100ed884e0cc2cd7c90d210bab12ff53a55a0e3c.zip
u-boot-imx-100ed884e0cc2cd7c90d210bab12ff53a55a0e3c.tar.gz
u-boot-imx-100ed884e0cc2cd7c90d210bab12ff53a55a0e3c.tar.bz2
mx6: soc: Update the comments of set_ldo_voltage()
Commit 3d622b78 (mx6: soc: Introduce set_ldo_voltage()) introduces set_ldo_voltage() function that can be used to set the voltages of any of the three LDO regulators controlled by the PMU_REG_CORE register. Prior to this commit there was a single set_vddsoc() which only configured the VDDSOC regulator. Update the comments to align with the new set_ldo_voltage() implementation. Acked-by: Jason Liu <r64343@freescale.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> (cherry picked from commit 157f45da91b306d71dbf3a51325352dc11bf16d1)
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index 1f870d6..001b9ab 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -172,10 +172,9 @@ static void clear_ldo_ramp(void)
}
/*
- * Set the VDDSOC
+ * Set the PMU_REG_CORE register
*
- * Mask out the REG_CORE[22:18] bits (REG2_TRIG) and set
- * them to the specified millivolt level.
+ * Set LDO_SOC/PU/ARM regulators to the specified millivolt level.
* Possible values are from 0.725V to 1.450V in steps of
* 0.025V (25mV).
*/