mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
board: ti: am43xx: take care of all OPPs
Make sure that all OPPs are checked on scale_vcores(). While at that also fix 600MHz VDD_MPU voltage according to AM437x Data Manual available at [1]. Table 5-3 on that document, lists all valid voltages per frequency. [1] http://www.ti.com/lit/ds/symlink/am4379.pdf Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
8465d6a71a
commit
d5c082a32d
1 changed files with 9 additions and 0 deletions
|
@ -385,9 +385,18 @@ void scale_vcores(void)
|
|||
case 1000:
|
||||
mpu_vdd = TPS65218_DCDC_VOLT_SEL_1330MV;
|
||||
break;
|
||||
case 800:
|
||||
mpu_vdd = TPS65218_DCDC_VOLT_SEL_1260MV;
|
||||
break;
|
||||
case 720:
|
||||
mpu_vdd = TPS65218_DCDC_VOLT_SEL_1200MV;
|
||||
break;
|
||||
case 600:
|
||||
mpu_vdd = TPS65218_DCDC_VOLT_SEL_1100MV;
|
||||
break;
|
||||
case 300:
|
||||
mpu_vdd = TPS65218_DCDC_VOLT_SEL_0950MV;
|
||||
break;
|
||||
default:
|
||||
puts("Unknown MPU clock, not scaling\n");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue