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

Commit 5c3a3232 authored by Vamshi Krishna B V's avatar Vamshi Krishna B V Committed by Anirudh Ghayal
Browse files

power_supply: Add QG_VBMS_MODE property



Add Qgauge Voltage only mode property which indicates whether
Qgauge running in Voltage-only mode of Qgauge or Normal Qgauge mode.

CRs-Fixed: 2374455
Change-Id: Ic14ab3085a264b127bb5fb533328375d52abaf40
Signed-off-by: default avatarVamshi Krishna B V <vbv@codeaurora.org>
parent 91037e76
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -341,6 +341,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(qc_opti_disable),
	POWER_SUPPLY_ATTR(fcc_stepper_enable),
	POWER_SUPPLY_ATTR(cc_soc),
	POWER_SUPPLY_ATTR(qg_vbms_mode),
	/* Local extensions of type int64_t */
	POWER_SUPPLY_ATTR(charge_counter_ext),
	/* Properties of type `const char *' */
+1 −0
Original line number Diff line number Diff line
@@ -304,6 +304,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_QC_OPTI_DISABLE,
	POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE,
	POWER_SUPPLY_PROP_CC_SOC,
	POWER_SUPPLY_PROP_QG_VBMS_MODE,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */