diff options
author | Hermes Zhang <chenhuiz@axis.com> | 2023-03-09 09:41:03 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-03-13 01:47:54 +0300 |
commit | 5161ec200f5a84416667da853ff822d72df507f2 (patch) | |
tree | 8ac19ff1ea9f9c8af7310a627e3ba54550f8b41a /tools/perf/scripts/python/task-analyzer.py | |
parent | 83425c835e7dea49576aaac5fd4bff9b38ee0c32 (diff) | |
download | linux-5161ec200f5a84416667da853ff822d72df507f2.tar.xz |
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions