summaryrefslogtreecommitdiff
path: root/include/power
diff options
context:
space:
mode:
Diffstat (limited to 'include/power')
-rw-r--r--include/power/stpmic1.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/power/stpmic1.h b/include/power/stpmic1.h
index ea91b75cfd..0e6721d852 100644
--- a/include/power/stpmic1.h
+++ b/include/power/stpmic1.h
@@ -107,4 +107,11 @@ enum {
STPMIC1_PWR_SW2,
STPMIC1_MAX_PWR_SW,
};
+
+int stpmic1_shadow_read_byte(u8 addr, u8 *buf);
+int stpmic1_shadow_write_byte(u8 addr, u8 *buf);
+int stpmic1_nvm_read_byte(u8 addr, u8 *buf);
+int stpmic1_nvm_write_byte(u8 addr, u8 *buf);
+int stpmic1_nvm_read_all(u8 *buf, int buf_len);
+int stpmic1_nvm_write_all(u8 *buf, int buf_len);
#endif