diff options
Diffstat (limited to 'include/driver/ln9310.h')
-rw-r--r-- | include/driver/ln9310.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/driver/ln9310.h b/include/driver/ln9310.h index 4cdcb156f5..07cff8ba97 100644 --- a/include/driver/ln9310.h +++ b/include/driver/ln9310.h @@ -185,4 +185,13 @@ void ln9310_interrupt(enum gpio_signal signal); /* Return the POWER_GOOD status */ int ln9310_power_good(void); +/* Battery cell type */ +enum battery_cell_type { + BATTERY_CELL_TYPE_UNKNOWN = 0, + BATTERY_CELL_TYPE_2S = 2, + BATTERY_CELL_TYPE_3S = 3 +}; + +enum battery_cell_type board_get_battery_cell_type(void); + #endif /* __CROS_EC_LN9310_H */ |