diff options
| author | Hermes Zhang <chenhuiz@axis.com> | 2023-03-09 14:41:03 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-03-12 23:47:54 +0100 |
| commit | 5161ec200f5a84416667da853ff822d72df507f2 (patch) | |
| tree | 8ac19ff1ea9f9c8af7310a627e3ba54550f8b41a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | power: supply: charger-manager: Use of_property_read_bool() for boolean prope... (diff) | |
| download | linux-5161ec200f5a84416667da853ff822d72df507f2.tar.gz linux-5161ec200f5a84416667da853ff822d72df507f2.zip | |
power: supply: bq256xx: Support to disable charger
To be able to control the charging process flexible, we need to able to
disable the charger. This commit will allow to disable the charger by
"echo 1 > /sys/class/power_supply/bq256xx-charger/charge_type"
(1 = POWER_SUPPLY_CHARGE_TYPE_NONE) and enable the charger by set it to
2/3 (POWER_SUPPLY_CHARGE_TYPE_TRICKLE/POWER_SUPPLY_CHARGE_TYPE_FAST)
Signed-off-by: Hermes Zhang <chenhuiz@axis.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
