forked from rubenslte/android_kernel_samsung_msm8226
dts: reworked battery data (s3ve3g)
Signed-off-by: Francescodario Cuzzocrea <bosconovic@gmail.com> Change-Id: I97e07395f791b86bf43bf3f2443188c95afc5693
This commit is contained in:
committed by
Francescodario Cuzzocrea
parent
29f7257928
commit
c86fdbadc9
@@ -53,20 +53,20 @@
|
||||
SEC_BATTERY_FULL_CONDITION_VCELL */
|
||||
battery,full_condition_type = <13>;
|
||||
battery,full_condition_soc = <93>;
|
||||
battery,full_condition_vcell = <4250>;
|
||||
battery,full_condition_vcell = <4160>;
|
||||
|
||||
battery,recharge_check_count = <1>;
|
||||
battery,recharge_condition_type = <4>; /* SEC_BATTERY_RECHARGE_CONDITION_VCELL */
|
||||
battery,recharge_condition_soc = <98>;
|
||||
battery,recharge_condition_vcell = <4300>;
|
||||
battery,recharge_condition_vcell = <4160>;
|
||||
|
||||
battery,charging_total_time = <21600>;
|
||||
battery,recharging_total_time = <5400>;
|
||||
battery,charging_reset_time = <0>;
|
||||
|
||||
battery,swelling_full_check_current = <170>;
|
||||
battery,swelling_high_rechg_voltage = <4150>;
|
||||
battery,swelling_low_rechg_voltage = <4050>;
|
||||
battery,swelling_full_check_current = <150>;
|
||||
battery,swelling_high_rechg_voltage = <3970>;
|
||||
battery,swelling_low_rechg_voltage = <3970>;
|
||||
|
||||
charger {
|
||||
status = "disable"
|
||||
@@ -74,12 +74,12 @@
|
||||
battery,charger_name = "qpnp-chg";
|
||||
battery,ovp_uvlo_check_type = <3>; /* SEC_BATTERY_OVP_UVLO_CHGPOLLING */
|
||||
battery,full_check_type = <2>; /* SEC_BATTERY_FULLCHARGED_FG_CURRENT */
|
||||
battery,chg_float_voltage = <4350>;
|
||||
battery,chg_float_voltage = <4260>;
|
||||
|
||||
battery,input_current_limit = <1000 500 500 1000 500 1000 1000 500 500 1000 650 1000 1000 500 500 300 1000 1000 300 1000 1000 500 500>;
|
||||
battery,fast_charging_current = <1000 0 500 1000 500 1000 1000 500 0 1000 750 1000 1000 (-1) 500 300 1000 1000 300 1000 1000 0 0>;
|
||||
battery,full_check_current_1st = <170 0 170 170 170 170 170 170 0 170 170 170 170 0 170 170 170 170 170 170 170 0 0>;
|
||||
battery,full_check_current_2nd = <170 0 170 170 170 170 170 170 0 170 170 170 170 0 170 170 170 170 170 170 170 0 0>;
|
||||
battery,input_current_limit = <500 500 500 1000 500 1000 1000 500 500 1000 650 1000 1000 500 500 300 1000 1000 300 1000 1000 500 500>;
|
||||
battery,fast_charging_current = <500 0 500 1000 500 1000 1000 500 0 1000 750 1000 1000 (-1) 500 300 1000 1000 300 1000 1000 0 0>;
|
||||
battery,full_check_current_1st = <250 0 250 250 250 250 250 250 0 250 250 250 250 0 250 250 250 250 250 250 250 0 0>;
|
||||
battery,full_check_current_2nd = <150 0 150 150 150 150 150 150 0 150 150 150 150 0 150 150 150 150 150 150 150 0 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -54,29 +54,29 @@ static sec_bat_adc_table_data_t chg_temp_table[] = {
|
||||
{0, 0},
|
||||
};
|
||||
|
||||
#define TEMP_HIGH_THRESHOLD_EVENT 580
|
||||
#define TEMP_HIGH_RECOVERY_EVENT 530
|
||||
#define TEMP_LOW_THRESHOLD_EVENT (-50)
|
||||
#define TEMP_LOW_RECOVERY_EVENT 0
|
||||
#define TEMP_HIGH_THRESHOLD_NORMAL 580
|
||||
#define TEMP_HIGH_RECOVERY_NORMAL 530
|
||||
#define TEMP_LOW_THRESHOLD_NORMAL (-50)
|
||||
#define TEMP_LOW_RECOVERY_NORMAL 0
|
||||
#define TEMP_HIGH_THRESHOLD_LPM 580
|
||||
#define TEMP_HIGH_RECOVERY_LPM 530
|
||||
#define TEMP_LOW_THRESHOLD_LPM (-50)
|
||||
#define TEMP_LOW_RECOVERY_LPM 0
|
||||
#define TEMP_HIGH_THRESHOLD_EVENT 500
|
||||
#define TEMP_HIGH_RECOVERY_EVENT 450
|
||||
#define TEMP_LOW_THRESHOLD_EVENT 0
|
||||
#define TEMP_LOW_RECOVERY_EVENT 50
|
||||
#define TEMP_HIGH_THRESHOLD_NORMAL 500
|
||||
#define TEMP_HIGH_RECOVERY_NORMAL 450
|
||||
#define TEMP_LOW_THRESHOLD_NORMAL 0
|
||||
#define TEMP_LOW_RECOVERY_NORMAL 50
|
||||
#define TEMP_HIGH_THRESHOLD_LPM 500
|
||||
#define TEMP_HIGH_RECOVERY_LPM 450
|
||||
#define TEMP_LOW_THRESHOLD_LPM 0
|
||||
#define TEMP_LOW_RECOVERY_LPM 50
|
||||
|
||||
#if defined(CONFIG_BATTERY_SWELLING)
|
||||
#define BATT_SWELLING_HIGH_TEMP_BLOCK 500
|
||||
#define BATT_SWELLING_HIGH_TEMP_RECOV 450
|
||||
#define BATT_SWELLING_HIGH_TEMP_BLOCK 410
|
||||
#define BATT_SWELLING_HIGH_TEMP_RECOV 390
|
||||
#define BATT_SWELLING_LOW_TEMP_BLOCK 50
|
||||
#define BATT_SWELLING_LOW_TEMP_RECOV 100
|
||||
#define BATT_SWELLING_HIGH_CHG_CURRENT 0
|
||||
#define BATT_SWELLING_LOW_CHG_CURRENT 0
|
||||
#define BATT_SWELLING_DROP_FLOAT_VOLTAGE 4200
|
||||
#define BATT_SWELLING_HIGH_RECHG_VOLTAGE 4150
|
||||
#define BATT_SWELLING_LOW_RECHG_VOLTAGE 4050
|
||||
#define BATT_SWELLING_DROP_FLOAT_VOLTAGE 4120
|
||||
#define BATT_SWELLING_HIGH_RECHG_VOLTAGE 3970
|
||||
#define BATT_SWELLING_LOW_RECHG_VOLTAGE 3970
|
||||
#endif
|
||||
|
||||
#endif /* __SEC_BATTERY_DATA_H */
|
||||
|
||||
Reference in New Issue
Block a user