From ea3a463460fcc679a25fd8d028fa01515164abae Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Thu, 1 Aug 2013 18:48:26 -0700 Subject: [PATCH] max77802: update header This adds #defines for BUCK2DVS1_1_2625V and BOOSTCTRL_OFF. Signed-off-by: David Hendricks Change-Id: I363c73ff4a645da53973767fa4bfa2c120394af6 Reviewed-on: https://gerrit.chromium.org/gerrit/64303 Reviewed-by: Ronald G. Minnich Commit-Queue: David Hendricks Tested-by: David Hendricks Reviewed-on: http://review.coreboot.org/4426 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/maxim/max77802/max77802.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/drivers/maxim/max77802/max77802.h b/src/drivers/maxim/max77802/max77802.h index 80a105d109..beb7195dfb 100644 --- a/src/drivers/maxim/max77802/max77802.h +++ b/src/drivers/maxim/max77802/max77802.h @@ -196,15 +196,17 @@ enum { }; /* Buck1 1.0 volt value (P1.0V_AP_MIF) */ -#define MAX77802_BUCK1DVS1_1V 0x3E +#define MAX77802_BUCK1DVS1_1V 0x3E /* Buck2 1.0 volt value (P1.0V_VDD_ARM) */ -#define MAX77802_BUCK2DVS1_1V 0x40 +#define MAX77802_BUCK2DVS1_1V 0x40 +/* Buck2 1.2625 volt value (P1.2625V_VDD_ARM) */ +#define MAX77802_BUCK2DVS1_1_2625V 0x6A /* Buck3 1.0 volt value (P1.0V_VDD_INT) */ -#define MAX77802_BUCK3DVS1_1V 0x40 +#define MAX77802_BUCK3DVS1_1V 0x40 /* Buck4 1.0 volt value (P1.0V_VDD_G3D) */ -#define MAX77802_BUCK4DVS1_1V 0x40 +#define MAX77802_BUCK4DVS1_1V 0x40 /* Buck6 1.0 volt value (P1.0V_AP_KFC) */ -#define MAX77802_BUCK6DVS1_1V 0x3E +#define MAX77802_BUCK6DVS1_1V 0x3E /* * Different Bucks use different bits to control power. There are two types, @@ -222,6 +224,9 @@ enum { #define MAX77802_LDO35CTRL1_1_2V (1 << 4) #define MAX77802_LOD35CTRL1_ON (1 << 6) +/* Disable Boost Mode*/ +#define MAX77802_BOOSTCTRL_OFF 0x09 + /* * MAX77802_REG_PMIC_32KHZ set to 32KH CP * output is activated