diff options
Diffstat (limited to 'include/linux/power')
-rw-r--r-- | include/linux/power/max17042_fuelgauge_px.h | 2 | ||||
-rwxr-xr-x | include/linux/power/smb347_charger.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/power/max17042_fuelgauge_px.h b/include/linux/power/max17042_fuelgauge_px.h index 11e8ce88ad9..c618e4d7394 100644 --- a/include/linux/power/max17042_fuelgauge_px.h +++ b/include/linux/power/max17042_fuelgauge_px.h @@ -61,6 +61,7 @@ #define FG_CHECK_STATUS 6 #define FG_VF_SOC 7 #define FG_VOLTAGE_NOW 8 +#define FG_RAW_LEVEL 9 #define LOW_BATT_COMP_RANGE_NUM 5 #define LOW_BATT_COMP_LEVEL_NUM 2 @@ -375,6 +376,7 @@ extern int fg_alert_init(void); extern void fg_fullcharged_compensation(u32 is_recharging, u32 pre_update); extern void fg_check_vf_fullcap_range(void); extern int fg_check_cap_corruption(void); +extern int fg_check_cap_corruption_p4(void); extern void fg_set_full_charged(void); extern void fg_reset_fullcap_in_fullcharge(void); #endif diff --git a/include/linux/power/smb347_charger.h b/include/linux/power/smb347_charger.h index 0c350693362..b8a197426be 100755 --- a/include/linux/power/smb347_charger.h +++ b/include/linux/power/smb347_charger.h @@ -24,6 +24,9 @@ struct smb_charger_callbacks { void (*set_charging_current) (int); int (*get_charging_current) (void); int (*get_charger_is_full) (void); + int (*get_aicl_current)(void); + int (*get_input_current)(void); + void (*set_aicl_state)(int); }; struct smb_charger_data { |