mx6: soc: Clear the LDO ramp values up prior to setting the LDO voltages
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 26 Dec 2013 16:51:31 +0000 (14:51 -0200)
committerStefano Babic <sbabic@denx.de>
Thu, 2 Jan 2014 16:16:50 +0000 (17:16 +0100)
commite113fd1972aa921258e3219e6666bc41c9459503
tree9687424a10e73fe362ba72c04e2b9b7284245bce
parentfc740648bddbf1fdb26e6cba1a8b436a814ef8bc
mx6: soc: Clear the LDO ramp values up prior to setting the LDO voltages

Since ROM may modify the LDO ramp up time according to fuse setting,
it is safer to reset the ramp up field to its default value of 00:

00: 64 cycles of 24MHz clock;
01: 128 cycles of 24MHz clock;
02: 256 cycles of 24MHz clock;
03: 512 cycles of 24MHz clock;

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/armv7/mx6/soc.c