diff options
Diffstat (limited to 'include/peripheral_charger.h')
-rw-r--r-- | include/peripheral_charger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/peripheral_charger.h b/include/peripheral_charger.h index ac193ba2da..2c3a334ed5 100644 --- a/include/peripheral_charger.h +++ b/include/peripheral_charger.h @@ -148,6 +148,7 @@ enum pchg_error { enum pchg_mode { PCHG_MODE_NORMAL = 0, PCHG_MODE_DOWNLOAD, + PCHG_MODE_PASSTHRU, /* Add no more entries below here. */ PCHG_MODE_COUNT, }; @@ -247,6 +248,8 @@ struct pchg_drv { int (*update_write)(struct pchg *ctx); /* close update session */ int (*update_close)(struct pchg *ctx); + /* Toggle pass-through mode. */ + int (*passthru)(struct pchg *ctx, bool enable); }; /** |