From d3f4a5c0f89afb3f488bc65a4e6232401cd393f8 Mon Sep 17 00:00:00 2001 From: Joy Cho Date: Mon, 28 Sep 2020 16:05:17 +0900 Subject: [PATCH] ODROID-GO3: arm64/dts: Apply fuel gauge values for HCP775474 3.7V, 4000mAh, 14.8Wh Change-Id: I1da244b425554b832f3e8ef8e2af63fc8e3732d2 --- .../dts/rockchip/rk3326-odroidgo3-linux.dts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3326-odroidgo3-linux.dts b/arch/arm64/boot/dts/rockchip/rk3326-odroidgo3-linux.dts index 85c5e94672b1..b129ddc0b854 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-odroidgo3-linux.dts +++ b/arch/arm64/boot/dts/rockchip/rk3326-odroidgo3-linux.dts @@ -807,30 +807,30 @@ }; }; + /* + - 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) + */ battery { compatible = "rk817,battery"; 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 - Internal Impedance : 180 mOhm - Charging Voltage : 4.2V - Charging Voltage Max : 4.25V - Sample resister : 10 mohm - */ - 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>;