summaryrefslogtreecommitdiff
path: root/include/peripheral_charger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/peripheral_charger.h')
-rw-r--r--include/peripheral_charger.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/peripheral_charger.h b/include/peripheral_charger.h
index 62b1b0ac01..26b7b98a2e 100644
--- a/include/peripheral_charger.h
+++ b/include/peripheral_charger.h
@@ -73,6 +73,7 @@ enum pchg_event {
PCHG_EVENT_IRQ,
/* External Events */
+ PCHG_EVENT_RESET,
PCHG_EVENT_INITIALIZED,
PCHG_EVENT_ENABLED,
PCHG_EVENT_DISABLED,
@@ -140,6 +141,8 @@ struct pchg {
* Peripheral charger driver
*/
struct pchg_drv {
+ /* Reset charger chip. */
+ int (*reset)(struct pchg *ctx);
/* Initialize the charger. */
int (*init)(struct pchg *ctx);
/* Enable/disable the charger. */