summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-10-11 20:07:41 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-11-15 08:11:34 -0800
commit26e2bf4b2fe27d2cfcbb629c6a830dd0c979ad3b (patch)
treef7d6ed7e76c1bb515b03b9ba0ef11d49596cab75 /driver
parentb765350dd51299b6606a0c837ded1cd4700dd3fb (diff)
downloadchrome-ec-26e2bf4b2fe27d2cfcbb629c6a830dd0c979ad3b.tar.gz
atlas: clean up ROP PMIC registers
this replaces some ROP PMIC register magic numbers with their actual names. corrected a few comments about the bits we're writing into these registers along the way. BUG=b:75070158 BRANCH=none TEST=boots on atlas Change-Id: If3be6b4c1d550d7e0770450e9f713282835656b5 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1278096 Commit-Ready: Caveh Jalali <caveh@google.com> Tested-by: caveh jalali <caveh@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r--driver/pmic_bd99992gw.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/pmic_bd99992gw.h b/driver/pmic_bd99992gw.h
index 84fe4c2ab4..9275e3818f 100644
--- a/driver/pmic_bd99992gw.h
+++ b/driver/pmic_bd99992gw.h
@@ -11,7 +11,13 @@
#include "temp_sensor/bd99992gw.h"
#define BD99992GW_REG_PWRSRCINT 0x04
+#define BD99992GW_REG_RESETIRQ1 0x08
#define BD99992GW_REG_PBCONFIG 0x14
+#define BD99992GW_REG_PWRSTAT1 0x16
+#define BD99992GW_REG_PWRSTAT2 0x17
+#define BD99992GW_REG_VCCIOCNT 0x30
+#define BD99992GW_REG_V18ACNT 0x34
+#define BD99992GW_REG_V100ACNT 0x37
#define BD99992GW_REG_V085ACNT 0x38
#define BD99992GW_REG_VRMODECTRL 0x3b
#define BD99992GW_REG_DISCHGCNT2 0x3d