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

Commit 2f5abdb1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb1398: Update the max-ilim current settings"

parents 4ce47714 d9ac20b3
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -205,9 +205,8 @@
#define TAPER_MAIN_ICL_LIMIT_VOTER	"TAPER_MAIN_ICL_LIMIT_VOTER"

/* Constant definitions */
/* Need to define max ILIM for smb1398 */
#define DIV2_MAX_ILIM_UA		3200000
#define DIV2_MAX_ILIM_DUAL_CP_UA	6400000
#define DIV2_MAX_ILIM_UA		5000000
#define DIV2_MAX_ILIM_DUAL_CP_UA	10000000
#define DIV2_ILIM_CFG_PCT		105

#define TAPER_STEPPER_UA_DEFAULT	100000
@@ -1947,7 +1946,7 @@ static int smb1398_div2_cp_parse_dt(struct smb1398_chip *chip)
		return rc;
	}

	chip->div2_cp_min_ilim_ua = 1000000;
	chip->div2_cp_min_ilim_ua = 750000;
	of_property_read_u32(chip->dev->of_node, "qcom,div2-cp-min-ilim-ua",
			&chip->div2_cp_min_ilim_ua);