summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoy Cho <joy.cho@hardkernel.com>2020-10-20 03:39:28 +0300
committerJoy Cho <joy.cho@hardkernel.com>2020-12-02 10:33:07 +0300
commita8c5836212bbf39db1bc2dee76fc9cf646fce653 (patch)
tree4fd7edfbf64cadcc58a9b17122f5e83473329aad
parent3e4bdef252685fb3faa60ae9a3a491565dbc0baa (diff)
downloadu-boot-a8c5836212bbf39db1bc2dee76fc9cf646fce653.tar.xz
ODROID-GO3: dts: Apply fuel gauge values for HCP775474
3.7V, 4000mAh, 14.8Wh Change-Id: I9be8f1c972b905af401cde1397214bfb116444f6
-rw-r--r--arch/arm/dts/odroidgo3-kernel.dts20
-rw-r--r--arch/arm/dts/odroidgo3.dts19
2 files changed, 25 insertions, 14 deletions
diff --git a/arch/arm/dts/odroidgo3-kernel.dts b/arch/arm/dts/odroidgo3-kernel.dts
index b6f9165684..822413c9d6 100644
--- a/arch/arm/dts/odroidgo3-kernel.dts
+++ b/arch/arm/dts/odroidgo3-kernel.dts
@@ -751,25 +751,25 @@
ocv_table = <3500 3625 3685 3697 3718 3735 3748
3760 3774 3788 3802 3816 3834 3853
3877 3908 3946 3975 4018 4071 4106>;
-
- /* KPL605475 Battery Spec */
/*
- Capacity : 3.7V 3000mA
- Normal Voltage = 3.7V
- Cut-Off Voltage : 3.1V
+ HCP775474ZC Battery
+ Capacity : 3.7V 4000mAh, 14.8Wh
+ Rated Voltage = 3.7V
+ Charge Cut-Off Voltage : 4.25V
+ Discharge Cut-Off Voltage : 3.0V
Internal Impedance : 180 mOhm
Charging Voltage : 4.2V
Charging Voltage Max : 4.25V
- Sample resister : 10 mohm
+ Sample resister : 10 mohm (R12)
*/
- design_capacity = <3000>;
- design_qmax = <3000>;
+ design_capacity = <4000>;
+ design_qmax = <4020>;
bat_res = <180>;
sleep_enter_current = <300>;
sleep_exit_current = <300>;
sleep_filter_current = <100>;
power_off_thresd = <3500>;
- zero_algorithm_vol = <3700>;
+ zero_algorithm_vol = <3850>;
max_soc_offset = <60>;
monitor_sec = <5>;
virtual_power = <0>;
@@ -787,7 +787,7 @@
virtual_power = <0>;
sample_res = <10>;
- /* P.C.B rev0.2 DC Detect & Charger Status LED GPIO */
+ /* DC Detect & Charger Status LED GPIO */
dc_det_gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
extcon = <&u2phy>;
diff --git a/arch/arm/dts/odroidgo3.dts b/arch/arm/dts/odroidgo3.dts
index fba739789d..9e6c5de1fd 100644
--- a/arch/arm/dts/odroidgo3.dts
+++ b/arch/arm/dts/odroidgo3.dts
@@ -311,9 +311,20 @@
ocv_table = <3500 3625 3685 3697 3718 3735 3748
3760 3774 3788 3802 3816 3834 3853
3877 3908 3946 3975 4018 4071 4106>;
- design_capacity = <2500>;
- design_qmax = <2750>;
- bat_res = <100>;
+ /*
+ HCP775474ZC Battery
+ Capacity : 3.7V 4000mAh, 14.8Wh
+ Rated Voltage = 3.7V
+ Charge Cut-Off Voltage : 4.25V
+ Discharge Cut-Off Voltage : 3.0V
+ Internal Impedance : 180 mOhm
+ Charging Voltage : 4.2V
+ Charging Voltage Max : 4.25V
+ Sample resister : 10 mohm (R12)
+ */
+ design_capacity = <4000>;
+ design_qmax = <4020>;
+ bat_res = <180>;
sleep_enter_current = <300>;
sleep_exit_current = <300>;
sleep_filter_current = <100>;
@@ -321,8 +332,8 @@
zero_algorithm_vol = <3850>;
max_soc_offset = <60>;
monitor_sec = <5>;
+ virtual_power = <0>;
sample_res = <10>;
- virtual_power = <1>;
};
charger {