From d5c082a32db7568fc03f30f6893cd54ff664e1b1 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Mon, 22 Dec 2014 16:26:15 -0600 Subject: 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 --- board/ti/am43xx/board.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index c418e68..7f1f980 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -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; -- cgit v1.1