summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-08-01 18:48:26 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2013-12-21 13:29:42 +0100
commitea3a463460fcc679a25fd8d028fa01515164abae (patch)
tree9e1ea142ad3e77b92810392d64feb0c74bf7fbf4
parent997be3d2eef923024907a2b8ff37e6cb23394b9d (diff)
max77802: update header
This adds #defines for BUCK2DVS1_1_2625V and BOOSTCTRL_OFF. Signed-off-by: David Hendricks <dhendrix@chromium.org> Change-Id: I363c73ff4a645da53973767fa4bfa2c120394af6 Reviewed-on: https://gerrit.chromium.org/gerrit/64303 Reviewed-by: Ronald G. Minnich <rminnich@chromium.org> Commit-Queue: David Hendricks <dhendrix@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/4426 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
-rw-r--r--src/drivers/maxim/max77802/max77802.h15
1 files 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