board: gateworks: venice: update GW74xx PMIC config
PATCH v2 1/1 board: gateworks: venice: update GW74xx PMIC config
Update the GW74xx PMIC configuration:
- increase VDD_SOC DVS1 to 0.85V per datasheet
- increase VDD_SOC DVS0 to 0.95V before first DRAM access
- increase VDD_ARM DVS0 to 0.95V to support kernel overdrive voltage (OD)
- remove unnecessary changes to VDD_DRAM as we don't use 3GHz DRAM
- remove unnecessary change to LDO2 as it is unused
v2: update commit log with more detail
--- board/gateworks/venice/spl.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-)
board/gateworks/venice/spl.c +7 -9
@@ -156,17 +156,15 @@ static int power_init_board(void)/* Buck 1 DVS control through PMIC_STBY_REQ */ dm_i2c_reg_write (dev,PCA9450_BUCK1CTRL ,0x59 ); -/* Set DVS1 to 0.8v for suspend */ -dm_i2c_reg_write (dev,PCA9450_BUCK1OUT_DVS1 ,0x10 ); +/* Set DVS1 to 0.85v for suspend */ +dm_i2c_reg_write (dev,PCA9450_BUCK1OUT_DVS1 ,0x14 ); -/* increase VDD_DRAM to 0.95v for 3Ghz DDR */ -dm_i2c_reg_write (dev,PCA9450_BUCK3OUT_DVS0 ,0x1C ); +/* increase VDD_SOC to 0.95V before first DRAM access */ +dm_i2c_reg_write (dev,PCA9450_BUCK1OUT_DVS0 ,0x1C ); -/* VDD_DRAM off in suspend: B1_ENMODE=10 */ -dm_i2c_reg_write (dev,PCA9450_BUCK3CTRL ,0x4a ); - -/* set VDD_SNVS_0V8 from default 0.85V */ -dm_i2c_reg_write (dev,PCA9450_LDO2CTRL ,0xC0 ); +/* Kernel uses OD/OD freq for SOC */ +/* To avoid timing risk from SOC to ARM, increase VDD_ARM to OD voltage 0.95v */ +dm_i2c_reg_write (dev,PCA9450_BUCK2OUT_DVS0 ,0x1C );/* set WDOG_B_CFG to cold reset */ dm_i2c_reg_write (dev,PCA9450_RESET_CTRL ,0xA1 );
Signature · 1 line
2.25.1
PATCH v2 1/1 board: gateworks: venice: update GW74xx PMIC config
Quoted 8 lines
Update the GW74xx PMIC configuration:
- increaseVDD_SOCDVS1 to 0.85V per datasheet
- increaseVDD_SOCDVS0 to 0.95V before first DRAM access
- increaseVDD_ARMDVS0 to 0.95V to support kernel overdrive voltage (OD)
- remove unnecessary changes toVDD_DRAMas we don't use 3GHz DRAM
- remove unnecessary change to LDO2 as it is unusedSigned-off-by Tim Harvey <[email protected]>v2: update commit log with more detail
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================