diff options
| author | 2026-09-01 21:35:10 +0200 | |
|---|---|---|
| committer | 2026-09-10 00:43:06 +0200 | |
| commit | 00d436f278929fb0db11ba5279dce21f82a177db (patch) | |
| tree | a27e66eeae1dd61e63a4979f2c2a70e889f77082 /scripts/Makefile.thinlto | |
| parent | power: supply: bq24257: Use POWER_SUPPLY_PROP_LOAD_SWITCH (diff) | |
power: supply: bq24190: Use POWER_SUPPLY_PROP_LOAD_SWITCH
The `online`-property has historically been (ab)used for controlling the
BATFET in this driver. The framework supports controlling system load
with `POWER_SUPPLY_PROP_LOAD_SWITCH`. Use this to control the BATFET,
but keep the support for `online` in order to have ABI backward
compatibility.
Moreover, don't bother with converting the `online`-functions to use the
new `charger_get/set_batfet_ctrl()` to keep the code more readable. It's
already quite messy, e.g. `charge_set_online()` calls
`battery_set_online()`.
Signed-off-by: Waqar Hameed <waqar.hameed@axis.com>
Link: https://patch.msgid.link/44792a20fb581cfd3587fd71147f29e22c7f3749.1788290289.git.waqar.hameed@axis.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
