]> git.sur5r.net Git - u-boot/commit
imx: mx6ull: update the REFTOP_VBGADJ setting
authorPeng Fan <peng.fan@nxp.com>
Sat, 8 Oct 2016 09:03:00 +0000 (17:03 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 16 Nov 2016 19:53:55 +0000 (20:53 +0100)
commit97c16dc8bf0981d9c3ba04f1b8cc54b751a00f3f
treec033ef027a7e5931b4c95cd137f238ce883d58d2
parent27e3a3c7f8a469c61509102a672d210bdff46059
imx: mx6ull: update the REFTOP_VBGADJ setting

According to design team, we need to set REFTOP_VBGADJ
in PMU MISC0 according to the REFTOP_TRIM[2:0] fuse. the
actually table is as below:

  '000" - set REFTOP_VBGADJ[2:0] to 3'b000
  '001" - set REFTOP_VBGADJ[2:0] to 3'b001
  '010" - set REFTOP_VBGADJ[2:0] to 3'b010
  '011" - set REFTOP_VBGADJ[2:0] to 3'b011
  '100" - set REFTOP_VBGADJ[2:0] to 3'b100
  '101" - set REFTOP_VBGADJ[2:0] to 3'b101
  '110" - set REFTOP_VBGADJ[2:0] to 3'b110
  '111" - set REFTOP_VBGADJ[2:0] to 3'b111

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Bai Ping <ping.bai@nxp.com>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/crm_regs.h