Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 1bb3fc47 authored by zhangxianzhu's avatar zhangxianzhu Committed by Michael Bestas
Browse files

[ALM:11099076] [FP4] QNOVO integrateion

 &&&%%%comment:[FP4] QNOVO integrateion
 &&&%%%bug number:10872990
 &&&%%%product name:sm7225_r_fp4
 &&&%%%root cause:Specification
 &&&%%%Bug category:T2M
 &&&%%%Module_Impact:kernel
 &&&%%%Test_Suggestion:test QNOVO algothm
 &&&%%%Solution:add QNOVO algothm
 &&&%%%Test_Report:test is ok
 &&&%%%VAL Can Test:NO
parent 7c30b1a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@

// Set the sign (-1 or 1) so that /sys/class/qns/current_now returns negative 
// values while discharging and positive while charging.
#define READ_CURRENT_SIGN	(-1)
#define READ_CURRENT_SIGN	(1)

#define CHARGE_CURRENT_PROP	POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX
#define CHARGE_VOLTAGE_PROP POWER_SUPPLY_PROP_VOLTAGE_MAX