Commit e644db282762ea8ea6398b8fecc1160034acf80e
1 parent
30ce7adebd
Exists in
smarc-rel_imx_4.1.15_2.0.0_ga
MLK-13141 mx6qpsabresd: Do not touch VGEN3 and VGEN5
VGEN3 and VGEN5 have been fused the right value in PF0100 on i.mx6qp board, so software didn't need to change their voltage output anymore. Otherwise, VGEN3 will be wrongly updated from 1.8v to 2.8v. Signed-off-by: Robin Gong <yibin.gong@nxp.com> (cherry picked from commit 6f7f185664a401f03f6ce6c81b996c1f27fdbe73)
Showing 1 changed file with 14 additions and 12 deletions Side-by-side Diff
board/freescale/mx6sabresd/mx6sabresd.c
... | ... | @@ -943,18 +943,20 @@ |
943 | 943 | |
944 | 944 | if (ret < 0) |
945 | 945 | return ret; |
946 | + /* VGEN3 and VGEN5 corrected on i.mx6qp board */ | |
947 | + if (!is_mx6dqp()) { | |
948 | + /* Increase VGEN3 from 2.5 to 2.8V */ | |
949 | + pmic_reg_read(pfuze, PFUZE100_VGEN3VOL, ®); | |
950 | + reg &= ~LDO_VOL_MASK; | |
951 | + reg |= LDOB_2_80V; | |
952 | + pmic_reg_write(pfuze, PFUZE100_VGEN3VOL, reg); | |
946 | 953 | |
947 | - /* Increase VGEN3 from 2.5 to 2.8V */ | |
948 | - pmic_reg_read(pfuze, PFUZE100_VGEN3VOL, ®); | |
949 | - reg &= ~LDO_VOL_MASK; | |
950 | - reg |= LDOB_2_80V; | |
951 | - pmic_reg_write(pfuze, PFUZE100_VGEN3VOL, reg); | |
952 | - | |
953 | - /* Increase VGEN5 from 2.8 to 3V */ | |
954 | - pmic_reg_read(pfuze, PFUZE100_VGEN5VOL, ®); | |
955 | - reg &= ~LDO_VOL_MASK; | |
956 | - reg |= LDOB_3_00V; | |
957 | - pmic_reg_write(pfuze, PFUZE100_VGEN5VOL, reg); | |
954 | + /* Increase VGEN5 from 2.8 to 3V */ | |
955 | + pmic_reg_read(pfuze, PFUZE100_VGEN5VOL, ®); | |
956 | + reg &= ~LDO_VOL_MASK; | |
957 | + reg |= LDOB_3_00V; | |
958 | + pmic_reg_write(pfuze, PFUZE100_VGEN5VOL, reg); | |
959 | + } | |
958 | 960 | |
959 | 961 | if (is_mx6dqp()) { |
960 | 962 | /* set SW1C staby volatage 1.075V*/ |