aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/power
diff options
context:
space:
mode:
authorsbrissen <sbrissen@hotmail.com>2013-06-21 07:40:19 -0400
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-06-25 17:05:03 +0200
commitcb93f68cb9ab19d9647962568b4c895548a869e8 (patch)
tree489bbfb6351db1d685e81c3d8c9c118544b68be4 /include/linux/power
parent5b3cb3ccc3df3b6106b5ae91f1ca77fcb1d99064 (diff)
downloadkernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.zip
kernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.tar.gz
kernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.tar.bz2
smdk4412: add i925/p4noteltevzw support
Change-Id: I17d3befd6a6538c16db0675253927068a09085c6
Diffstat (limited to 'include/linux/power')
-rw-r--r--include/linux/power/max17042_fuelgauge_px.h2
-rwxr-xr-xinclude/linux/power/smb347_charger.h3
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 11e8ce8..c618e4d 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 0c35069..b8a1974 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 {