diff options
| author | Guru Das Srinagesh <gurus@codeaurora.org> | 2018-01-23 10:45:48 -0800 |
|---|---|---|
| committer | Michael Bestas <mkbestas@gmail.com> | 2020-04-18 03:47:57 +0300 |
| commit | cb86022f8d32d927462a74bd6737796f0a163b90 (patch) | |
| tree | f10a7c0ea2da2f9078a86ce090d19b57f82772a2 /include/linux | |
| parent | fcc09e4044a510e78c8f4e54a00275833230a8e5 (diff) | |
power: power_supply: Add property for capping parallel FCC
Add a power supply property to expose the upper limit on the charging
current that the parallel charger can supply.
This is different from POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX in
that the latter is meant for querying the hardware-defined value, while
this new property is meant to be used to restrict the parallel's share
of FCC to its specified limit much like in SMB1354, for instance.
CRs-Fixed: 2170280
Change-Id: I3a6ed44fbafe0eff4ecc9462bdf9a35f34811d8c
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/power_supply.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index db47daa81038..2ebd54c98e61 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -273,6 +273,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_ALLOW_HVDCP3, POWER_SUPPLY_PROP_MAX_PULSE_ALLOWED, POWER_SUPPLY_PROP_PARALLEL_BATFET_MODE, + POWER_SUPPLY_PROP_PARALLEL_FCC_MAX, POWER_SUPPLY_PROP_MIN_ICL, /* Local extensions of type int64_t */ POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT, |
