summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/pmh7/pmh7.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/pmh7/pmh7.h')
-rw-r--r--src/ec/lenovo/pmh7/pmh7.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ec/lenovo/pmh7/pmh7.h b/src/ec/lenovo/pmh7/pmh7.h
index 772312cba4..d486ceb041 100644
--- a/src/ec/lenovo/pmh7/pmh7.h
+++ b/src/ec/lenovo/pmh7/pmh7.h
@@ -22,6 +22,9 @@
#define EC_LENOVO_PMH7_ADDR (EC_LENOVO_PMH7_BASE + 0x0c)
#define EC_LENOVO_PMH7_DATA (EC_LENOVO_PMH7_BASE + 0x0e)
+#define EC_LENOVO_PMH7_REG_ID 0xc2
+#define EC_LENOVO_PMH7_REG_REV 0xc3
+
void pmh7_register_set_bit(int reg, int bit);
void pmh7_register_clear_bit(int reg, int bit);
char pmh7_register_read(int reg);