Skip to content
Snippets Groups Projects
Commit fc69d472 authored by Keerthy's avatar Keerthy Committed by Jaehoon Chung
Browse files

board: ti: AM43XX: Add ddr voltage rail configuration


Add ddr voltage rail (dcdc3) configuration. Set the dcdc3
DDR supply to 1.35V.

Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent e395b884
No related branches found
No related tags found
No related merge requests found
...@@ -421,6 +421,13 @@ void scale_vcores_generic(u32 m) ...@@ -421,6 +421,13 @@ void scale_vcores_generic(u32 m)
printf("%s failure\n", __func__); printf("%s failure\n", __func__);
return; return;
} }
/* Set DCDC3 (DDR) voltage */
if (tps65218_voltage_update(TPS65218_DCDC3,
TPS65218_DCDC3_VOLT_SEL_1350MV)) {
printf("%s failure\n", __func__);
return;
}
} }
void scale_vcores_idk(u32 m) void scale_vcores_idk(u32 m)
......
...@@ -63,6 +63,7 @@ enum { ...@@ -63,6 +63,7 @@ enum {
#define TPS65218_DCDC_VOLT_SEL_1200MV 0x23 #define TPS65218_DCDC_VOLT_SEL_1200MV 0x23
#define TPS65218_DCDC_VOLT_SEL_1260MV 0x29 #define TPS65218_DCDC_VOLT_SEL_1260MV 0x29
#define TPS65218_DCDC_VOLT_SEL_1330MV 0x30 #define TPS65218_DCDC_VOLT_SEL_1330MV 0x30
#define TPS65218_DCDC3_VOLT_SEL_1350MV 0x12
#define TPS65218_CC_STAT (BIT(0) | BIT(1)) #define TPS65218_CC_STAT (BIT(0) | BIT(1))
#define TPS65218_STATE (BIT(2) | BIT(3)) #define TPS65218_STATE (BIT(2) | BIT(3))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment