1
0
Fork 0
remarkable-uboot/board/reMarkable/zero-sugar/max77818_battery.h

22 lines
501 B
C

/*
* (C) Copyright 2020
* reMarkable AS - http://www.remarkable.com
*
* SPDX-License-Identifier: GPL-2.0+
* Author: Steinar Bakkemo <steinar.bakkemo@remarkable.com>
*/
#ifndef FG_INIT_H
#define FG_INIT_H
#include <linux/types.h>
int max77818_init_fg_device(void);
int max77818_read_fgcc_state(bool *state);
int max77818_set_fgcc_state(bool enabled, bool *restore_state);
int max77818_restore_fgcc(bool restore_state);
int max77818_get_battery_capacity(u8 *capacity);
#endif /* FG_INIT_H */